Package org.eclipse.rdf4j.sail.solr
Class SolrDocumentScore
- java.lang.Object
-
- org.eclipse.rdf4j.sail.solr.SolrDocumentResult
-
- org.eclipse.rdf4j.sail.solr.SolrDocumentScore
-
- All Implemented Interfaces:
DocumentResult
,DocumentScore
public class SolrDocumentScore extends SolrDocumentResult implements DocumentScore
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.sail.solr.SolrDocumentResult
doc
-
-
Constructor Summary
Constructors Constructor Description SolrDocumentScore(SolrSearchDocument doc, Map<String,List<String>> highlighting)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getScore()
Iterable<String>
getSnippets(String field)
boolean
isHighlighted()
-
Methods inherited from class org.eclipse.rdf4j.sail.solr.SolrDocumentResult
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 Detail
-
SolrDocumentScore
public SolrDocumentScore(SolrSearchDocument doc, Map<String,List<String>> highlighting)
-
-
Method Detail
-
getScore
public float getScore()
- Specified by:
getScore
in interfaceDocumentScore
-
isHighlighted
public boolean isHighlighted()
- Specified by:
isHighlighted
in interfaceDocumentScore
-
getSnippets
public Iterable<String> getSnippets(String field)
- Specified by:
getSnippets
in interfaceDocumentScore
-
-