Class LuceneDocumentResult
java.lang.Object
org.eclipse.rdf4j.sail.lucene.impl.LuceneDocumentResult
- All Implemented Interfaces:
DocumentResult
- Direct Known Subclasses:
LuceneDocumentDistance
,LuceneDocumentScore
-
Field Summary
Modifier and TypeFieldDescriptionprotected LuceneIndex
protected org.apache.lucene.search.ScoreDoc
-
Constructor Summary
ConstructorDescriptionLuceneDocumentResult(org.apache.lucene.search.ScoreDoc doc, LuceneIndex index, Set<String> fields)
-
Method Summary
Modifier and TypeMethodDescriptionReturns null if the document no longer exists.
-
Field Details
-
scoreDoc
protected final org.apache.lucene.search.ScoreDoc scoreDoc -
index
-
-
Constructor Details
-
LuceneDocumentResult
public LuceneDocumentResult(org.apache.lucene.search.ScoreDoc doc, LuceneIndex index, Set<String> fields)
-
-
Method Details
-
getDocument
Description copied from interface:DocumentResult
Returns null if the document no longer exists.- Specified by:
getDocument
in interfaceDocumentResult
-