Package com.liferay.portal.search.hits
Interface SearchHitBuilder
@ProviderType
public interface SearchHitBuilder
-
Method Summary
Modifier and TypeMethodDescriptionaddHighlightField
(HighlightField highlightField) addHighlightFields
(Collection<HighlightField> highlightFields) addSources
(Map<String, Object> sourcesMap) build()
explanation
(String explanation) matchedQueries
(String... matchedQueries) score
(float score) sortValues
(Object[] sortValues) version
(long version)
-
Method Details
-
addHighlightField
-
addHighlightFields
-
addSource
-
addSources
-
build
SearchHit build() -
document
-
explanation
-
id
-
matchedQueries
-
score
-
sortValues
-
version
-