With the store and term_vector fields defined, I get a
NullPointerException and no results returned.
[2011-11-14 22:44:16,984][DEBUG][action.search.type ] [Node1]
[11] Failed to execute fetch phase
java.lang.NullPointerException
at
org.apache.lucene.search.vectorhighlight.CustomFieldQuery.flatten(CustomFieldQuery.java:
148)
at
org.apache.lucene.search.vectorhighlight.CustomFieldQuery.flatten(CustomFieldQuery.java:
107)
at
org.apache.lucene.search.vectorhighlight.FieldQuery.(FieldQuery.java:
57)
at
org.apache.lucene.search.vectorhighlight.CustomFieldQuery.(CustomFieldQuery.java:
63)
at
org.apache.lucene.search.vectorhighlight.CustomFieldQuery.(CustomFieldQuery.java:
59)
at
org.elasticsearch.search.highlight.HighlightPhase.buildFieldQuery(HighlightPhase.java:
262)
at
org.elasticsearch.search.highlight.HighlightPhase.execute(HighlightPhase.java:
234)
at
org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:206)
at
org.elasticsearch.search.SearchService.executeFetchPhase(SearchService.java:
391)...
If I remove the store and term_vector fields, highlighting works fine.
Please let me know if you need more information, I can create a curl
recreation.
With the store and term_vector fields defined, I get a
NullPointerException and no results returned.
[2011-11-14 22:44:16,984][DEBUG][action.search.type ] [Node1]
[11] Failed to execute fetch phase
java.lang.NullPointerException
at
org.apache.lucene.search.vectorhighlight.CustomFieldQuery.flatten(CustomFieldQuery.java:
148)
at
org.apache.lucene.search.vectorhighlight.CustomFieldQuery.flatten(CustomFieldQuery.java:
107)
at
org.apache.lucene.search.vectorhighlight.FieldQuery.(FieldQuery.java:
57)
at
org.apache.lucene.search.vectorhighlight.CustomFieldQuery.(CustomFieldQuery.java:
63)
at
org.apache.lucene.search.vectorhighlight.CustomFieldQuery.(CustomFieldQuery.java:
59)
at
org.elasticsearch.search.highlight.HighlightPhase.buildFieldQuery(HighlightPhase.java:
262)
at
org.elasticsearch.search.highlight.HighlightPhase.execute(HighlightPhase.java:
234)
at
org.elasticsearch.search.fetch.FetchPhase.execute(FetchPhase.java:206)
at
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.