I'm attempting to switch Solr to use the new Collector framework to
get per-segment sorting and have been hitting some issues.
The latest is a function query log(val) which produces both NaN and
-Infinity values, which kill the TopScoreDocCollector (invalid docids
are produced).

results = {org.apache.lucene.search.scoredoc...@2039}
[0] = {org.apache.lucene.search.score...@2042}"doc=0 score=2.0"
[1] = {org.apache.lucene.search.score...@2043}"doc=4 score=1.39794"
[2] = {org.apache.lucene.search.score...@2044}"doc=3 score=1.0"
[3] = {org.apache.lucene.search.score...@2045}"doc=5 score=0.69897"
[4] = {org.apache.lucene.search.score...@2046}"doc=1 score=-2000000.0"
[5] = {org.apache.lucene.search.score...@2047}"doc=2147483647 score=-Infinity"
[6] = {org.apache.lucene.search.score...@2048}"doc=2147483647 score=-Infinity"

So either we need to clarify the valid values for score() or we need
to change how the queue does comparisons so that this works again.

-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to