The title is pretty self explanatory!
I have many documents in an index. Each document has a field X
. Given an id i
of a document, Is there a way to get the X
value of i
and return all the documents whose X
value is within a certain range, all in one query?
My problem is basically referencing The X
value of document i
within my range query.