Skip to Main Content
Solr in Action
book

Solr in Action

by Trey Grainger, Timothy Potter
March 2014
Intermediate to advanced content levelIntermediate to advanced
664 pages
21h 15m
English
Manning Publications
Content preview from Solr in Action

Chapter 5. Indexing

This chapter covers

  • Designing your schema for indexing documents
  • Defining fields and field types in schema.xml
  • Using field types for structured data
  • Handling update requests, commits, and atomic updates
  • Managing index settings in solrconfig.xml

In chapter 3, we learned how Solr finds documents using an inverted index, which in its simplest form is a dictionary of terms and a list of documents in which each term occurs. Solr uses this index to match terms in a user’s query with the documents in which they occur. In this chapter, we’ll learn how Solr processes documents to build the index. A key factor in indexing documents is text analysis. In this chapter, we’ll focus on the indexing process and nontext fields, saving a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Lucene in Action, Second Edition

Lucene in Action, Second Edition

Erik Hatcher, Michael McCandless, Otis Gospodnetic
Elasticsearch: The Definitive Guide

Elasticsearch: The Definitive Guide

Clinton Gormley, Zachary Tong

Publisher Resources

ISBN: 9781617291029Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link