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 Collector
IOException
public boolean needsScores()
needsScores
in interface Collector
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved