Skip to content

Latest commit

 

History

History
executable file
·
5 lines (3 loc) · 636 Bytes

realtime_indexing.md

File metadata and controls

executable file
·
5 lines (3 loc) · 636 Bytes

Dynamically modify the index table

The riot engine supports searching while adding an index (engine.IndexDoc function), but as indexes are indexed and write-locked when added, search performance decreases as indexes are added. Please control the frequency of additions or move a large number of add-ons to engines when they are idle. Deleting a document (engine.RemoveDoc function) has the same problem.

The riot engine supports cache insert and delete index operations, bulk insert and delete documents to improve performance. The delete operation also supports custom rating fields that delete the document from the sorter.