Friday, 7 August 2015

Lucene Indexing flow to enable faster search

Let's understand the picture first from Bottom to Center.
    The Raw Text is used to create a Lucene "Document" which is analyzed using the   provided lucene Analyzer and Document is added to the index based on the Store,TermVector and Analyzed property of the Fields. Next, the search from top to center.The users specify the query in a text format.The query Object is build based on the query text and the result of  the executed query is returned as TopDocs

* *   Document is a class provided by lucene core library.

No comments:

Post a Comment