public class SolrDocumentScore extends SolrDocumentResult implements DocumentScore
doc| Constructor and Description |
|---|
SolrDocumentScore(SolrSearchDocument doc,
Map<String,List<String>> highlighting) |
| Modifier and Type | Method and Description |
|---|---|
float |
getScore() |
Iterable<String> |
getSnippets(String field) |
boolean |
isHighlighted() |
getDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDocumentpublic SolrDocumentScore(SolrSearchDocument doc, Map<String,List<String>> highlighting)
public float getScore()
getScore in interface DocumentScorepublic boolean isHighlighted()
isHighlighted in interface DocumentScorepublic Iterable<String> getSnippets(String field)
getSnippets in interface DocumentScoreCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.