I have a field that has millions of values, and I need to get "the
next X values" in alpha order. The terms component works fabulously
for this.
Here is a cooked up example of the terms
a
b
f
q
r
rr
rrr
y
z
zzz
So if I ask for the 3 terms after "r", I get "rr", "rrr" and "y".
But now I'd like to apply a filter query on a different field. After
the filter, my terms might be:
b
q
r
y
z
zzz
So the 3 terms after "r", given the filter, become "y" "z" and "zzz"
Given that I have millions of terms, and they are not predictable for
range queries ... how can I get
"the next X values" of my field
after one or more filters are applied?
- Naomi