On Saturday 27 May 2006 13:39, Michael Chan wrote:
> > A few things might help:
> > - use getSpans() on the scorer of the query, iterate the resulting Spans
> > and count the number of different doc values.
> > This saves the scoring and the sorting on score value.
>
> Thanks for your advice.
A few things might help:
- use getSpans() on the scorer of the query, iterate the resulting Spans
and count the number of different doc values.
This saves the scoring and the sorting on score value.
Thanks for your advice. I was wondering, is each span given by
getSpans() a unique match acco
On Friday 26 May 2006 19:13, Ken Krugler wrote:
> >On Friday 26 May 2006 16:14, Michael Chan wrote:
> >> Hi,
> >>
> > > I have a 5gb index containing 2mil documents and am trying to run
> >> 1mil+ queries against it. Most of the queries are SpanQueries and it
> >> occurs to me that the search p
On Friday 26 May 2006 16:14, Michael Chan wrote:
Hi,
> I have a 5gb index containing 2mil documents and am trying to run
1mil+ queries against it. Most of the queries are SpanQueries and it
occurs to me that the search performance is quite slow when using 2, 3
SpanOrQueries nested inside
On Friday 26 May 2006 16:14, Michael Chan wrote:
> Hi,
>
> I have a 5gb index containing 2mil documents and am trying to run
> 1mil+ queries against it. Most of the queries are SpanQueries and it
> occurs to me that the search performance is quite slow when using 2, 3
> SpanOrQueries nested inside