Thanks, Chris for your clear explanations, it seems there are a lot info on using Lucene but info for the internal workings of Lucene is hard to come by.

I got some more questions which I'll ask in-line.


Chris Hostetter wrote:
: Since i'm using a boolean OR query i figured it must be related to the
: BooleanScorer (though there's a more complicated BooleanScorer2 which
: I'm not sure when it's use).

There's actually three possible scorers used: ConjunctionScorer can be
used if all of the clauses are required.  Most of the behavior is driven
based on wether or not BooleanQuery.setUseScorer14(true) -- by default it
is false, which means BooleanScorer2 is used.

1) I'm using the default QueryParser to parse and return a query so it's a Boolean-OR query. So does this mean it uses the DisjunctionSumScorer or something?

2) Just wondering looking at the API for BooleanQuery i saw this: "Using setMinimumNumberShouldMatch will force the use of BooleanWeight2, regardless of wether setUseScorer14(true) has been called."
What is the method setUseScorer14 about?

--
Eugene

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to