something about that doesn't sit right. With a hundred vendors that could
have 30 keywords each, ouch.
Thanks again!
-David-
-Original Message-
From: Michael McCandless [mailto:luc...@mikemccandless.com]
Sent: Thursday, January 26, 2012 8:44 AM
To: java-user@lucene.apache.org
Sub
...@thetaphi.de
> -Original Message-
> From: Michael McCandless [mailto:luc...@mikemccandless.com]
> Sent: Thursday, January 26, 2012 2:44 PM
> To: java-user@lucene.apache.org
> Subject: Re: Query term counting, again...
>
> You should be able to use the Scorer.visitSubS
You should be able to use the Scorer.visitSubScorers API? You'd do
this up front, to recursively gather all "interesting" scorers in the
Query, and then in a custom collector, in the collect method, you can
go and ask each subScorer whether it matched the current document
(call its .freq() and see