concept indexing process in category hibernate

appears as: indexing process, n indexing process
Hibernate Search in Action

This is an excerpt from Manning's book Hibernate Search in Action.

  • The last operation in the indexing process is to store your document (optionally) and create an optimized structure that will make search queries fast. So what’s behind this magic optimized structure? Nothing much, other than the index in the database we’ve seen in section 1.2, but the key used in this index is the individual word rather than the value of the field (see figure 1.6). The index stores additional information per word. This information will help us later on to fix the order-by-relevance problem we faced in our SQL-based search engine; word frequency, word position, and offset are worth noticing. They allow the search engine to know how “popular” a word is in a given document and its position compared to another word.
  • The more properties are indexed on a given object and the bigger they are, the longer the indexing process takes. Make sure to index only those properties you need to search by. This will also reduce the size of your index and make the search faster.