Re: BufferedIndexInput.readByte performance; Spans not unique

2006-05-27 Thread Paul Elschot
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.

Re: BufferedIndexInput.readByte performance

2006-05-27 Thread Michael Chan
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

Re: BufferedIndexInput.readByte performance; skipping

2006-05-26 Thread Paul Elschot
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

Re: BufferedIndexInput.readByte performance

2006-05-26 Thread Ken Krugler
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

Re: BufferedIndexInput.readByte performance

2006-05-26 Thread Paul Elschot
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