I already have some documents indexed using more NumericField
s per document.
Now I want to search the documents that have all fields from <-3,+3> interval e.g.:
query: n1=7,n2=10,n3=12
- and the search should return all documents that have numbers from intervals: n1=<4,10>,n2=<7,13>,n3=<9,15>
.
Question: what analyzer do I need, how to write a query, what searcher to use?
It's an assignment, so I can't use any other tools that are built for searching in ranges, have to use Lucene.
Thanks