Skip to content

Commit

Permalink
Quoted query_string gives NullPointerException with not_analyzed fiel…
Browse files Browse the repository at this point in the history
…d (0.19.4), closes elastic#2006.
  • Loading branch information
kimchy committed Jun 10, 2012
1 parent 770d564 commit 8b74459
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -164,7 +164,7 @@ protected StringFieldMapper(Names names, Field.Index index, Field.Store store, F
super(names, index, store, termVector, boost, omitNorms, omitTermFreqAndPositions, indexAnalyzer, searchAnalyzer);
this.nullValue = nullValue;
this.positionOffsetGap = positionOffsetGap;
this.searchQuotedAnalyzer = searchQuotedAnalyzer != null ? searchQuotedAnalyzer : searchAnalyzer;
this.searchQuotedAnalyzer = searchQuotedAnalyzer != null ? searchQuotedAnalyzer : this.searchAnalyzer;
}

@Override
Expand Down

0 comments on commit 8b74459

Please sign in to comment.