Class LuceneDocumentScore
java.lang.Object
org.eclipse.rdf4j.sail.lucene.impl.LuceneDocumentResult
org.eclipse.rdf4j.sail.lucene.impl.LuceneDocumentScore
- All Implemented Interfaces:
DocumentResult
,DocumentScore
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.sail.lucene.impl.LuceneDocumentResult
index, scoreDoc
-
Constructor Summary
ConstructorDescriptionLuceneDocumentScore
(org.apache.lucene.search.ScoreDoc doc, org.apache.lucene.search.highlight.Highlighter highlighter, 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
-
LuceneDocumentScore
public LuceneDocumentScore(org.apache.lucene.search.ScoreDoc doc, org.apache.lucene.search.highlight.Highlighter highlighter, LuceneIndex index)
-
-
Method Details
-
getScore
public float getScore()- Specified by:
getScore
in interfaceDocumentScore
-
isHighlighted
public boolean isHighlighted()- Specified by:
isHighlighted
in interfaceDocumentScore
-
getSnippets
- Specified by:
getSnippets
in interfaceDocumentScore
-