Hi, This particular issue has been fixed via another issue: https://github.com/elasticsearch/elasticsearch/issues/4703
The 4703 issue fix will be included 0.90.11 and 1.0-rc2. Martijn On 29 January 2014 05:32, seallison <[email protected]> wrote: > I'm getting a NullPointerException in Elasticsearch 0.90.10 when searching > using a nested filter on the parent document. > > The exception is: > > [2014-01-28 23:25:37,483][DEBUG][action.search.type ] [Gorilla-Man] > [3] Failed to execute fetch phase > java.lang.NullPointerException > at > org.elasticsearch.index.search.child.ParentConstantScoreQuery$ChildrenWeight$ChildrenDocIdIterator.match(ParentConstantScoreQuery.java:176) > at > org.apache.lucene.search.FilteredDocIdSetIterator.advance(FilteredDocIdSetIterator.java:71) > at > org.elasticsearch.index.search.child.ConstantScorer.advance(ConstantScorer.java:70) > at > org.apache.lucene.search.ConstantScoreQuery$ConstantScorer.advance(ConstantScoreQuery.java:217) > at > org.apache.lucene.search.ConstantScoreQuery$ConstantWeight.explain(ConstantScoreQuery.java:166) > at org.apache.lucene.search.FilteredQuery$1.explain(FilteredQuery.java:102) > at org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:672) > at org.apache.lucene.search.IndexSearcher.explain(IndexSearcher.java:652) > at > org.elasticsearch.search.internal.ContextIndexSearcher.explain(ContextIndexSearcher.java:192) > at > org.elasticsearch.search.fetch.explain.ExplainFetchSubPhase.hitExecute(ExplainFetchSubPhase.java:72) > at org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:197) > at > org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:434) > at > org.elasticsearch.search.action.SearchServiceTransportAction.sendExecuteFetch(SearchServiceTransportAction.java:406) > at > org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction.executeFetch(TransportSearchDfsQueryThenFetchAction.java:249) > at > org.elasticsearch.action.search.type.TransportSearchDfsQueryThenFetchAction$AsyncAction$5.run(TransportSearchDfsQueryThenFetchAction.java:233) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > > I've created a gist with a sample mapping and how I am building the nested > filter: https://gist.github.com/seallison/8681846 > > I know this worked in a previous version of Elasticsearch (maybe 0.90.5?) > I can't remember. > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/f2768bb8-20e9-44cc-af56-e69e802fb0c0%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- Met vriendelijke groet, Martijn van Groningen -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CA%2BA76TyNhxwOLipO7Nz8oghFgN_n9e%2BCUDjCS_W6H8q_oHLLwg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
