Upgrade Lucene to 5.5.0

This is not the latest version on the 5.x series, but is the version
used in the latest release of Elasticsearch.

Change-Id: Iddc6852cc1e2e338e4d026b0ba3438e8f26fc812
This commit is contained in:
David Pursehouse
2016-07-20 09:21:42 +09:00
parent 00cd500b36
commit 674d92c998
2 changed files with 7 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ import java.util.List;
public class QueryBuilder<V> {
static Term intTerm(String name, int value) {
BytesRefBuilder builder = new BytesRefBuilder();
NumericUtils.intToPrefixCodedBytes(value, 0, builder);
NumericUtils.intToPrefixCoded(value, 0, builder);
return new Term(name, builder.get());
}