fix wrong parsing of useDisMax with number

This commit is contained in:
kimchy 2010-03-20 18:13:08 +02:00
parent fa1071d090
commit bad8643978
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ public class QueryStringJsonQueryParser extends AbstractIndexComponent implement
} else if ("escape".equals(currentFieldName)) {
escape = jp.getIntValue() != 0;
} else if ("useDisMax".equals(currentFieldName)) {
escape = jp.getIntValue() != 0;
useDisMax = jp.getIntValue() != 0;
} else if ("tieBreaker".equals(currentFieldName)) {
tieBreaker = jp.getFloatValue();
}