lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Chan" <>
Subject Re: BufferedIndexInput.readByte performance
Date Sat, 27 May 2006 11:39:15 GMT
> 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 according to the given query?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message