lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Chan" <dayz...@gmail.com>
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?

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message