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() |
getDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocument
public SolrDocumentScore(SolrSearchDocument doc, Map<String,List<String>> highlighting)
public float getScore()
getScore
in interface DocumentScore
public boolean isHighlighted()
isHighlighted
in interface DocumentScore
public Iterable<String> getSnippets(String field)
getSnippets
in interface DocumentScore
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.