lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: date filter filtering out non-dated items?
Date Sun, 01 Jun 2008 19:43:11 GMT

: While I could add a future date to these documents, this kind of feels 
: hackish and I would be interested in other ideas on how to filter out 
: expired documents.

this just came up on the solr list, the answer is equally applicable 
but note that you'll need to combine it with some other query class 
(MatchAllDocs perhaps)...

>> you have to invert your logic.  docs that "have not yet expired, or will 
>> never expire" match the negacted query for "docs expired in the past" 

http://www.nabble.com/expression-in-an-fq-parameter-fails-to17353677.html#a17375261




-Hoss


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


Mime
View raw message