📜  Lucene-索引操作

📅  最后修改于: 2020-11-12 04:46:39             🧑  作者: Mango


在本章中,我们将讨论索引的四个主要操作。这些操作在各个时间都是有用的,并在整个软件搜索应用程序中使用。

索引操作

以下是索引过程中常用的操作列表。

S.No. Operation & Description
1 Add Document

This operation is used in the initial stage of the indexing process to create the indexes on the newly available content.

2 Update Document

This operation is used to update indexes to reflect the changes in the updated contents. It is similar to recreating the index.

3 Delete Document

This operation is used to update indexes to exclude the documents which are not required to be indexed/searched.

4 Field Options

Field options specify a way or control the ways in which the contents of a field are to be made searchable.