Typical Operations
2.3.1 Complete index creation
This operation occurs usually once. The whole
set of documents is parsed and analyzed in order to create the index from scratch. This operation can take several hours to complete.
2.3.2Full text search
This operation includes processing the query
and returning page hits as a list of document IDs sorted according to their relevance.
2.3.3 Index update
This operation is also called incremental indexing. It is not supported by all search engines. Typically, a worker thread of the application monitors the actual inventory of documents. In case of document insertion, update, or deletion, the index is changed on the spot and its content is immediately made searchable. Lucene supports this operation.