[BUILD] Fix compile error

This commit is contained in:
Martijn van Groningen 2014-05-30 12:23:16 +02:00
parent 7fff6f1f43
commit 0e2d33b4a4
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ public class TopHitsAggregator extends BucketsAggregator implements ScorerAware
@Override
public InternalAggregation buildEmptyAggregation() {
return new InternalTopHits(name, topHitsContext.size(), topHitsContext.sort(), Lucene.EMPTY_TOP_DOCS, InternalSearchHits.empty());
return new InternalTopHits(name, topHitsContext.from(), topHitsContext.size(), topHitsContext.sort(), Lucene.EMPTY_TOP_DOCS, InternalSearchHits.empty());
}
@Override