So I'm thinking about creating a classifieds site with Nodejs + Mongoosastic. I suppose you know that mongoosastic is mongoose plugin that updates indexes when db update (cud) happens with mongoose (mongodb).
My question is when a new ad is created (or deleted or updated) in mongodb, elasticsearch index will be updated. In that time, during index update, will I be able to fetch ads from elasticsearch??
Yes.
Searches operate on a set of index files ("segments") that represent a point in time. New or changed content goes into new files which are unrelated to any active searches on older files. Periodically (by default every second) the completed new files are added to the set of files that are used for searching.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.