| Constructor and Description |
|---|
DistanceCollector(Coordinates centerCoordinates,
int hitsCount,
String fieldname) |
| Modifier and Type | Method and Description |
|---|---|
Double |
getDistance(int index) |
LeafCollector |
getLeafCollector(LeafReaderContext context) |
boolean |
needsScores() |
public DistanceCollector(Coordinates centerCoordinates, int hitsCount, String fieldname)
public Double getDistance(int index)
public LeafCollector getLeafCollector(LeafReaderContext context) throws IOException
getLeafCollector in interface CollectorIOExceptionpublic boolean needsScores()
needsScores in interface CollectorCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved