public class LuceneDocumentDistance extends LuceneDocumentResult implements DocumentDistance
index, scoreDoc| Constructor and Description |
|---|
LuceneDocumentDistance(org.apache.lucene.search.ScoreDoc doc,
String geoProperty,
IRI units,
org.locationtech.spatial4j.shape.Point origin,
boolean includeContext,
LuceneIndex index) |
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance() |
getDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentpublic LuceneDocumentDistance(org.apache.lucene.search.ScoreDoc doc,
String geoProperty,
IRI units,
org.locationtech.spatial4j.shape.Point origin,
boolean includeContext,
LuceneIndex index)
public double getDistance()
getDistance in interface DocumentDistanceCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.