Skip to content

Commit

Permalink
Numeric values always omit norms (boosting), regardless of the config…
Browse files Browse the repository at this point in the history
…uration set, closes elastic#1020.
  • Loading branch information
kimchy committed Jun 12, 2011
1 parent 7206b2b commit 220a714
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -225,7 +225,7 @@ public CustomNumericField(NumberFieldMapper mapper, byte[] value) {
isIndexed = mapper.indexed();
isTokenized = mapper.indexed();
omitTermFreqAndPositions = true;
omitNorms = true;
omitNorms = mapper.omitNorms();

if (value != null) {
isStored = true;
Expand Down

0 comments on commit 220a714

Please sign in to comment.