Question

Is is possible to query like : age>23 in lucene?

I have been looking into it but I couldn't find anything, can someone guide me through in this regard?

Était-ce utile?

La solution

Here is what you are looking for,

age:[23 TO *] finds all field values greater than or equal to 23
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top