Add up-to-date docs for near-realtime search #40644
Labels
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
>docs
General docs changes
help wanted
adoptme
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Team:Docs
Meta label for docs team
The very first basic concept is that Elasticsearch is a near-realtime NRT search platform, but this is not defined in more depth in the reference manual. We receive questions (with low but nonzero frequency) of the form "I wrote a document and got an ack and then tried to search for it and it wasn’t there" and it'd be good if there was somewhere in the docs that answers this question so we could just share a link.
Today our options are:
the relevant page of the definitive guide - this page contains good information, but the definitive guide as a whole is not up to date so it's risky to link new users there.
the docs for the
?refresh
option covers, or at least mentions, most of the ideas, except for...the
POST _refresh
API, but by default this is usually unnecessary because...index.refresh_interval
defaults to1s
.I think it'd be great if we could rework this into a single place in the reference docs that describes what NRT means as a concept, and how refreshes happen in Elasticsearch. Although it isn't really anything to do with replication, the replication overview is really more about the read and write models and I think that documenting the visibility semantics could fit here.
Additionally, it's not very clear that update-by-query and delete-by-query rely on searches, and therefore depend on which documents have been refreshed.
/cc @elastic/docs
The text was updated successfully, but these errors were encountered: