QueryParser won't create a NumericRangeQuery as it has no way to know whether a field was indexed with NumericField. Just extend the QueryParser to handle this case.
Read full article from How do I make the QueryParser in Lucene handle numeric ranges? - Stack Overflow
No comments:
Post a Comment