Where clause on an last update timestamp on meta info?

Thanks for helping!

Hmm - we could move all our atomic counters but the problem is that there are quite a few of them and the way I had envisioned this script is that it would run once every few minutes and only move the newly inserted or updated docs over to ES.

We probably will have a very large number of counter docs.

I was under the impression that cb would use data in the meta docs to determine if a doc stays in memory or gets paged to disk - is that true? - cuz, as you have pointed out the mets doc returned by N1QL doesn’t contain much info other than CAS, flags, ID and type.