You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to upgrade to 0.90.1 (from 0.90.0) and seeing a new NPE for certain queries (specific generated boolean query with not section).
Details below -- happy to provide more information to help track down but haven't had any luck so far reducing this to simpler case.
The error is:
[2013-06-13 11:04:12,411][DEBUG][action.search.type ] [Mop Man] [product-development-1][0], node[2njk8xyQQUSqmjVuG51JiA], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@4e299813]
org.elasticsearch.search.query.QueryPhaseExecutionException: [product-development-1][0]: query[filtered(ConstantScore(+QueryWrapperFilter(ToParentBlockJoinQuery (filtered(ConstantScore(+cache(properties.name.id:Product Category) +cache(properties.value.id:13351)))->cache(_type:__properties))) QueryWrapperFilter(ToParentBlockJoinQuery (filtered(ConstantScore(+cache(categories.name.id:Product Category) +cache(categories.value.id:13351)))->cache(_type:__categories))) +NotFilter(QueryWrapperFilter(ToParentBlockJoinQuery (filtered(ConstantScore(+cache(properties.name.id:ProductName) +cache(properties.value.id:drive converter)))->cache(_type:__properties))) QueryWrapperFilter(ToParentBlockJoinQuery (filtered(ConstantScore(+cache(categories.name.id:ProductName) +cache(categories.value.id:drive converter)))->cache(_type:__categories))))))->cache(org.elasticsearch.index.search.nested.NonNestedDocsFilter@953b6c6c)],from[0],size[10]: Query Failed [Failed to execute main query]
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:138)
at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:239)
at org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteQuery(SearchServiceTransportAction.java:141)
at org.elasticsearch.action.search.type.TransportSearchQueryThenFetchAction$AsyncAction.sendExecuteFirstPhase(TransportSearchQueryThenFetchAction.java:80)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:206)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.performFirstPhase(TransportSearchTypeAction.java:193)
at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$2.run(TransportSearchTypeAction.java:179)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.NullPointerException
at org.elasticsearch.common.lucene.docset.NotDocIdSet$IteratorBasedIterator.cost(NotDocIdSet.java:168)
at org.elasticsearch.common.lucene.docset.AndDocIdSet$IteratorBasedIterator.<init>(AndDocIdSet.java:140)
at org.elasticsearch.common.lucene.docset.AndDocIdSet.iterator(AndDocIdSet.java:82)
at org.apache.lucene.search.ConstantScoreQuery$ConstantWeight.scorer(ConstantScoreQuery.java:135)
at org.apache.lucene.search.FilteredQuery$RandomAccessFilterStrategy.filteredScorer(FilteredQuery.java:538)
at org.apache.lucene.search.FilteredQuery$1.scorer(FilteredQuery.java:133)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:609)
at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:161)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:482)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:438)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)
at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:134)
... 9 more
Attempting to upgrade to 0.90.1 (from 0.90.0) and seeing a new NPE for certain queries (specific generated boolean query with
not
section).Details below -- happy to provide more information to help track down but haven't had any luck so far reducing this to simpler case.
The error is:
Query is:
The text was updated successfully, but these errors were encountered: