public class TopHitsAggregationResult extends Object implements ITopHitsAggregationResult
| Constructor and Description |
|---|
TopHitsAggregationResult() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTopHitsDocument(ISearchServerDocument topHit) |
String |
getName() |
long |
getNumberTotalHits() |
List<ISearchServerDocument> |
getTopHits() |
void |
setName(String name) |
void |
setTotalHits(long totalHits) |
public void addTopHitsDocument(ISearchServerDocument topHit)
public String getName()
getName in interface IAggregationResultpublic long getNumberTotalHits()
getNumberTotalHits in interface ITopHitsAggregationResultpublic List<ISearchServerDocument> getTopHits()
getTopHits in interface ITopHitsAggregationResultpublic void setName(String name)
public void setTotalHits(long totalHits)
Copyright © 2017 JULIE Lab, Germany. All rights reserved.