Class LuceneDocumentDistance
java.lang.Object
org.eclipse.rdf4j.sail.lucene.impl.LuceneDocumentResult
org.eclipse.rdf4j.sail.lucene.impl.LuceneDocumentDistance
- All Implemented Interfaces:
DocumentDistance
,DocumentResult
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.sail.lucene.impl.LuceneDocumentResult
index, scoreDoc
-
Constructor Summary
ConstructorDescriptionLuceneDocumentDistance
(org.apache.lucene.search.ScoreDoc doc, String geoProperty, IRI units, org.locationtech.spatial4j.shape.Point origin, boolean includeContext, LuceneIndex index) -
Method Summary
Methods inherited from class org.eclipse.rdf4j.sail.lucene.impl.LuceneDocumentResult
getDocument
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.sail.lucene.DocumentResult
getDocument
-
Constructor Details
-
LuceneDocumentDistance
public LuceneDocumentDistance(org.apache.lucene.search.ScoreDoc doc, String geoProperty, IRI units, org.locationtech.spatial4j.shape.Point origin, boolean includeContext, LuceneIndex index)
-
-
Method Details
-
getDistance
public double getDistance()- Specified by:
getDistance
in interfaceDocumentDistance
-