Other than the fact that one is specifically for numerical values, how does the execution differ internally. The docs say :
... works by loading all the relevant field values into memory, and checking for the relevant docs if they satisfy the range requirements. This requires more memory..
Has 2 execution options : (i) index (uses inverted index) (ii) fielddata (loads field data in memory)
Question:
- Will the
fielddataoption ofRange filtermake it behave similar toNumeric range filter - Why doesn't the
Numeric range filterhave an index option? - The docs further say
for small ranges the index execution is faster: What's consideredsmallhere?
If someone can explain it with an example, that would really help.