fix line length in FuzzyQueryBuilder

This commit is contained in:
javanna 2016-08-03 21:04:44 +02:00 committed by Luca Cavanna
parent 0ac7dd6137
commit 6a5c44a271
1 changed files with 2 additions and 1 deletions

View File

@ -303,7 +303,8 @@ public class FuzzyQueryBuilder extends AbstractQueryBuilder<FuzzyQueryBuilder> i
} else if (parseContext.getParseFieldMatcher().match(currentFieldName, AbstractQueryBuilder.NAME_FIELD)) { } else if (parseContext.getParseFieldMatcher().match(currentFieldName, AbstractQueryBuilder.NAME_FIELD)) {
queryName = parser.text(); queryName = parser.text();
} else { } else {
throw new ParsingException(parser.getTokenLocation(), "[fuzzy] query does not support [" + currentFieldName + "]"); throw new ParsingException(parser.getTokenLocation(),
"[fuzzy] query does not support [" + currentFieldName + "]");
} }
} }
} }