fix merge error

This commit is contained in:
Colin Goodheart-Smithe 2016-02-10 12:20:10 +00:00
parent 1f760bd1bd
commit cef9b015e8
1 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,8 @@ public class TopHitsTests extends BaseAggregationTestCase<TopHitsAggregator.TopH
factory.sort(SortBuilders.fieldSort(randomAsciiOfLengthBetween(5, 20)).order(randomFrom(SortOrder.values())));
break;
case 1:
factory.sort(SortBuilders.geoDistanceSort(randomAsciiOfLengthBetween(5, 20))
.geohashes(AbstractQueryTestCase.randomGeohash(1, 12)).order(randomFrom(SortOrder.values())));
factory.sort(SortBuilders.geoDistanceSort(randomAsciiOfLengthBetween(5, 20), AbstractQueryTestCase.randomGeohash(1, 12))
.order(randomFrom(SortOrder.values())));
break;
case 2:
factory.sort(SortBuilders.scoreSort().order(randomFrom(SortOrder.values())));