I have couchdb river. There are over 300000 docs in database. After edit any document in db number of documents in ES decreases unpredictably.
Doing flush for index helps. But i'm wondering, would it be a problem to call flush after each update in couchdb.
Maybe there are some other ways to solve my problem?