Numeric values always omit norms (boosting), regardless of the configuration set, closes #1020.

This commit is contained in:
kimchy 2011-06-12 11:03:43 +03:00
parent fd80fcbca0
commit d4d80525de
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ public abstract class NumberFieldMapper<T extends Number> extends AbstractFieldM
isIndexed = mapper.indexed();
isTokenized = mapper.indexed();
omitTermFreqAndPositions = true;
omitNorms = true;
omitNorms = mapper.omitNorms();
if (value != null) {
isStored = true;