On Sun, Mar 9, 2014 at 10:46 AM, Da Huang <dhuang...@gmail.com> wrote:
> Thanks a lot. That's very helpful.
>
> I think you get exactly what I mean about the LUCENE-4396.
> By grouping up the MUST clauses, the conjunctive query can be
> done specifiedly with easy way. Then, the original query would have
> no more than 1 MUST clause. I think in this situation, it's much more
> easier to judge whether to use BooleanScorer or BooleanScorer2. :)

Well, because we now have the DISI.cost() method, we can use this to
find the least-cost MUST clause (e.g. the one matching the fewest
documents) and then make a call up front on whether BS or BS2 is
appropriate.

But these would all be fun ideas to explore under a GSoC project, if
we can scope it appropriately.

Mike McCandless

http://blog.mikemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to