I'm getting in one of my test cases the following error when searching
but maybe it is again already fixed
Exception in thread "elasticsearch[search]-pool-3-thread-2"
java.lang.AssertionError
at org.apache.lucene.search.TopScoreDocCollector
$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:50)
at org.apache.lucene.search.Scorer.score(Scorer.java:90)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
519)
at
org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:
174)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
384)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
291)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
279)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:
211)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:
222)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:
134)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction
$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:
76)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.access$000(TransportSearchTypeAction.java:75)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction$2.run(TransportSearchTypeAction.java:169)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Can you provide a recreation? Its an internal assertion in Lucene.
On Wednesday, May 18, 2011 at 12:51 PM, Karussell wrote:
I'm getting in one of my test cases the following error when searching
but maybe it is again already fixed
Exception in thread "elasticsearch[search]-pool-3-thread-2"
java.lang.AssertionError
at org.apache.lucene.search.TopScoreDocCollector
$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:50)
at org.apache.lucene.search.Scorer.score(Scorer.java:90)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
519)
at
org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:
174)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
384)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
291)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
279)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:
211)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:
222)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:
134)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction
$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:
76)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.access$000(TransportSearchTypeAction.java:75)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction$2.run(TransportSearchTypeAction.java:169)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
I'm getting in one of my test cases the following error when searching
but maybe it is again already fixed
Exception in thread "elasticsearch[search]-pool-3-thread-2"
java.lang.AssertionError
at org.apache.lucene.search.TopScoreDocCollector
$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:50)
at org.apache.lucene.search.Scorer.score(Scorer.java:90)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
519)
at
org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:
174)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
384)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
291)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
279)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:
211)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:
222)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:
134)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction
$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:
76)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.access$000(TransportSearchTypeAction.java:75)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction$2.run(TransportSearchTypeAction.java:169)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Right, just wanted to suggest that :). The collector can't handle negative Float.NEGATIVE_INFINITY or Nan values.
On Wednesday, May 18, 2011 at 12:54 PM, Karussell wrote:
ah, it is due to the score calc in my own native script ...
I'm getting in one of my test cases the following error when searching
but maybe it is again already fixed
Exception in thread "elasticsearch[search]-pool-3-thread-2"
java.lang.AssertionError
at org.apache.lucene.search.TopScoreDocCollector
$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:50)
at org.apache.lucene.search.Scorer.score(Scorer.java:90)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
519)
at
org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:
174)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
384)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
291)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
279)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:
211)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:
222)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:
134)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction
$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:
76)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.access$000(TransportSearchTypeAction.java:75)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction$2.run(TransportSearchTypeAction.java:169)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
I'm getting in one of my test cases the following error when searching
but maybe it is again already fixed
Exception in thread "elasticsearch[search]-pool-3-thread-2"
java.lang.AssertionError
at org.apache.lucene.search.TopScoreDocCollector
$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:50)
at org.apache.lucene.search.Scorer.score(Scorer.java:90)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
519)
at
org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:
174)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
384)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
291)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:
279)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:
211)
at
org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:
222)
at
org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:
134)
at
org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction
$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:
76)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:192)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction.access$000(TransportSearchTypeAction.java:75)
at org.elasticsearch.action.search.type.TransportSearchTypeAction
$BaseAsyncAction$2.run(TransportSearchTypeAction.java:169)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.