First of all, I am pretty new to ElasticSearch; please forgive me if the answer to my questions are obvious.
We have switched to ElasticSearch 7.x from ElasticSearch 6.8 and I was very interested by the new behavior of refresh_interval: " If this setting is not explicitly set, shards that haven’t seen search traffic for at least index.search.idle.after seconds will not receive background refreshes until they receive a search request".
In our case, we do bulk upsert at a pretty high rate but not, in general, when indexes are searched. I think I understand pretty well the behavior but I was wondering if the fact that we are using upsert (we force the id of the document and want to make sure we update any existing document with same id) instead of always creating a new document makes a different, does searching a document with same id is considered as a search request on the index?
I have a side question, I have not been able to find how to log all the refresh requests done by ElasticSearch (for debugging purpose); is this possible?
Thanks for your time