- Elasticsearch 7.0 Cookbook(Fourth Edition)
- Alberto Paro
- 58字
- 2021-06-24 14:52:28
Indexing a document
In Elasticsearch, there are two vital operations: index and search.
Indexing means storing one or more documents in an index: a similar concept to inserting records in a relational database.
In Lucene, the core engine of Elasticsearch, inserting or updating a document has the same cost: in Lucene and Elasticsearch, to update means to replace.