@StableMinor(version="12.3", sinceVersion="8.1") public interface ISearchHit
ISearchResults
object. It represents an indexed information
that is matched by
a query
that was executed
.
Modifier and Type | Method and Description |
---|---|
Document |
getDocument()
Returns the
Document object related to the hit, containing all stored fields. |
Map<String,List<String>> |
getHighlights()
Returns the highlight fragments, if any.
|
double |
getScore()
Returns the score of this search hit.
|
double getScore()
Document getDocument()
Document
object related to the hit, containing all stored fields.Document
object related to the hit.Map<String,List<String>> getHighlights()
specified
in SearchQuery
,
the result map will have one entry with an empty string as key and the value is the highlight fragments of text
in fields included in global search
.HighlightConfig.addHighlightFields(java.util.Collection)
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.