Chris Hostetter wrote:
: 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))
Ooo... that's even better. Hopefully I can backport ConstantScoreQuery to the version we're using without too much trouble (MatchAllDocsQuery didn't cause any trouble.)
Daniel -- Daniel Noll Nuix Australia Pty Ltd Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Phone: (02) 9280 0699 Fax: (02) 9212 6902 This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this message or attachment is strictly prohibited. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
