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() |
getDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocument
public 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 DocumentDistance
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.