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: Queries not derived from the text index
Date Thu, 09 Feb 2006 07:06:55 GMT

: I think that overriding getFieldQuery would work, yeah... you're right.
:    It's just a matter of comparing efficienty of this:
:
:      BooleanQuery of (TermQuery, FilteredQuery of (AllDocsQuery, Filter))
:
: to the efficiency of this:
:
:      FilteredQuery of (TermQuery, Filter)

the third option is as easy to impliment as the first, and probably close
to being as efficient as the second...

       BooleanQuery of (TermQuery, ConstantScoreQuery(Filter))



-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