lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxim Patramanskij <...@osua.de>
Subject DateFilter or RangeQuery
Date Thu, 04 Dec 2003 15:16:27 GMT
Hello lucene-users.

What is the better way to filter search results by date (which is one
of the indexed fields):

  - use RangeQuery against date field as a required part of boolean  query;
  - use DateFilter

  First approach seems to be problematic since I have to extremely
  increase maxClauseCount of BooleanQuery and run again extra memory
  usage.
  

Max


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message