concept title in category hibernate

appears as: title, title
Hibernate Search in Action

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

Figure 1.6. Optimizing full-text queries using a specialized index structure. Each word in the title is used as a key in the index structure. For a given word (key), the list of matching ids is stored as well as the word frequency and position.
  • The second operation converts the original data into a searchable text representation: the document. A document is the container holding the text representation of the data, the searchable representation of the row, the HTML page, the event data, and so on. Not all of the original data will end up in the document; only the pieces useful for search queries will be included. While indexing the title and content of a book make sense, it’s probably unnecessary to index the URL pointing to the cover image. Optionally, the process might also want to categorize the data; the title of an HTML page may have more importance than the core of the page. These items will probably be stored in different fields. Think of a document as a set of fields. The notion of fields is step 1 of our journey to solve one of our SQL-based search engine problems; some columns are more significant than others.
  • Section 13.2, in its entirety, was devoted to explaining how to extract information from various formats. These extractions could very easily have been implemented as custom bridges. You could have byte arrays (for PDFs) or URLs (for Word documents) passed to these custom bridges and the extraction done there. The big benefit of this is that the bridge could be easily reused anywhere you want. What is the title of this chapter, “Don’t reinvent the wheel”?