Are sequence numbers unique within a shard or is the pair (primary term, sequence number) the only thing guaranteed to be unique?
Moving this question to a larger discussion on why this is important for me.
I am working on a set of changes to ElasticSearch which allow storing a filter for documents matching a query using sequence numbers. I would like to get feedback on my approach.
This is implemented with these changes:
Add special query field type and _stored_filter meta field whose content is a query.
When a document with _stored_filter_query is encountered another field is added which stores the sorted sequence numbers for the documents matching the query.
Introduce stored_filter_query whic…
system
(system)
Closed
September 18, 2017, 7:06pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.