No, you create the filter via TermDocs/TermEnum. You can also cache them. Creating filters is *much* faster than you think <G>.
Alternatively, you could boost everything *else* by some large factor and then the unimportant fields would add relatively little to the final score. Best Erick On Tue, Jul 15, 2008 at 9:34 AM, John Patterson <[EMAIL PROTECTED]> wrote: > > > > Erick Erickson wrote: > > > > One way would be to create Filters and add them in with > > ConstantScoreRangeQuery.... > > > > Would that mean running the query twice? i.e. once to create the filter > and > once to rank the results? > -- > View this message in context: > http://www.nabble.com/Mixing-non-scored-an-scored-queries-tp18460018p18465466.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
