Quoted query_string gives NullPointerException with not_analyzed field (0.19.4), closes #2006.

This commit is contained in:
Shay Banon 2012-06-11 00:24:17 +02:00
parent 8f0bc799c6
commit e53db1a478
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ public class StringFieldMapper extends AbstractFieldMapper<String> implements Al
super(names, index, store, termVector, boost, omitNorms, omitTermFreqAndPositions, indexAnalyzer, searchAnalyzer); super(names, index, store, termVector, boost, omitNorms, omitTermFreqAndPositions, indexAnalyzer, searchAnalyzer);
this.nullValue = nullValue; this.nullValue = nullValue;
this.positionOffsetGap = positionOffsetGap; this.positionOffsetGap = positionOffsetGap;
this.searchQuotedAnalyzer = searchQuotedAnalyzer != null ? searchQuotedAnalyzer : searchAnalyzer; this.searchQuotedAnalyzer = searchQuotedAnalyzer != null ? searchQuotedAnalyzer : this.searchAnalyzer;
} }
@Override @Override