Optimization of mapping definition

If your search requirements allow it, there are some tips for optimization in the mapping definition of your index for when you need to improve the indexing performance. In the following section, we will look at those tips.

Norms

Scoring is the process of calculating the score of a document in the scope of a particular query and is an important part of the query process in Lucene. The score indicates how well the document matches the query. In other words, it is a factor that shows how close the document you are looking for. This means, the higher the score, the more relevant the document. There are several factors that are a determinant in calculating the score. One of them is the norms.

Lucene takes field length ...

Get Elasticsearch Indexing now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.