0

Is there a good way to track when a particular index/type is updated with new documents. I have use-case where we constantly update an index/type with new documents and was wondering what is the recommended way to go about the same. Link to a similar question asked earlier

I do understand the concept as to how the documents are stored and update in a distributed system(i.e. keeping track of timestamp wrt each document). But, was wondering, whats the recommended way of knowing when was the index updated because of a change, or does that not make any logical sense ?

Community
  • 1
  • 1
Pramit
  • 1,373
  • 1
  • 18
  • 27
  • By "index updated", do you simply mean when a new document gets indexed into the index, or could it also be any other operation such as creating/updating a mapping? – Val May 16 '16 at 05:10
  • @Val apologies for not being descriptive. Only "when a new document is indexed or an existing document is updated". I know it makes sense to capture the 'timestamp' information for each document but what if one is only interested in the at index level. – Pramit May 16 '16 at 14:12
  • 1
    There is nothing supporting this that I know of. There is an [open issue](https://github.com/elastic/elasticsearch/issues/10379) that could potentially support what you're expecting, though. – Val May 19 '16 at 11:29
  • @val yup i saw that, forgot to attach it to the question. So, i guess no work around for now. – Pramit May 19 '16 at 15:35

0 Answers0