Chapter 2. Indexing Your Data

In this chapter, we will cover the following topics:

  • Indexing PDF files
  • Counting the number of fields
  • Using parsing update processors to parse data
  • Using scripting update processors to modify documents
  • Indexing data from a database using Data Import Handler
  • Incremental imports with DIH
  • Transforming data when using DIH
  • Indexing multiple geographical points
  • Updating document fields
  • Detecting the document language during indexation
  • Optimizing the primary key indexation
  • Handling multiple currencies

Introduction

Indexing data is one of the most crucial things in Lucene and Solr deployment. When your data is not indexed properly, your search results will be poor. When the search results are poor, it's almost certain the users will not ...

Get Solr Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.