Class SearchSearchRequest
java.lang.Object
com.liferay.portal.search.engine.adapter.ccr.CrossClusterRequest
com.liferay.portal.search.engine.adapter.search.BaseSearchRequest
com.liferay.portal.search.engine.adapter.search.SearchSearchRequest
- All Implemented Interfaces:
SearchRequest<SearchSearchResponse>
public class SearchSearchRequest
extends BaseSearchRequest
implements SearchRequest<SearchSearchResponse>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept
(SearchRequestExecutor searchRequestExecutor) void
addSorts
(com.liferay.portal.search.sort.Sort... sorts) com.liferay.portal.search.collapse.Collapse
String[]
String[]
com.liferay.portal.kernel.search.GroupBy
Deprecated.As of Mueller (7.2.x), replaced by GroupByRequestList<com.liferay.portal.search.groupby.GroupByRequest>
com.liferay.portal.search.highlight.Highlight
String[]
int
int
long
Object[]
String[]
getSize()
List<com.liferay.portal.search.sort.Sort>
getSorts()
com.liferay.portal.kernel.search.Sort[]
Deprecated.As of Mueller (7.2.x), replaced by SortgetStart()
getStats()
Deprecated.As of Mueller (7.2.x), replaced by com.liferay.portal.search.stats.StatsRequestString[]
boolean
boolean
boolean
boolean
boolean
void
putAllStats
(Map<String, com.liferay.portal.kernel.search.Stats> stats) void
setAllFieldsSelected
(boolean allFieldsSelected) void
setAlternateUidFieldName
(String alternateUidFieldName) void
setCollapse
(com.liferay.portal.search.collapse.Collapse collapse) void
setFetchSource
(Boolean fetchSource) void
setFetchSourceExcludes
(String[] fetchSourceExcludes) void
setFetchSourceIncludes
(String[] fetchSourceIncludes) void
setGroupBy
(com.liferay.portal.kernel.search.GroupBy groupBy) Deprecated.As of Mueller (7.2.x), replaced by GroupByRequestvoid
setGroupByRequests
(Collection<com.liferay.portal.search.groupby.GroupByRequest> groupByRequests) void
setHighlight
(com.liferay.portal.search.highlight.Highlight highlight) void
setHighlightEnabled
(boolean highlightEnabled) void
setHighlightFieldNames
(String... highlightFieldNames) void
setHighlightFragmentSize
(int highlightFragmentSize) void
setHighlightRequireFieldMatch
(boolean highlightRequireFieldMatch) void
setHighlightSnippetSize
(int highlightSnippetSize) void
void
setLuceneSyntax
(boolean luceneSyntax) void
setPreference
(String preference) void
setScoreEnabled
(boolean scoreEnabled) void
setScrollId
(String scrollId) void
setScrollKeepAliveMinutes
(long scrollKeepAliveMinutes) void
setSearchAfter
(Object[] searchAfter) void
setSelectedFieldNames
(String... selectedFieldNames) void
void
setSorts
(com.liferay.portal.kernel.search.Sort[] sorts) Deprecated.As of Mueller (7.2.x), replaced by Sortvoid
setSorts
(Collection<com.liferay.portal.search.sort.Sort> sorts) void
void
Deprecated.As of Mueller (7.2.x), replaced by com.liferay.portal.search.stats.StatsRequestvoid
setStoredFields
(String... storedFields) void
setVersion
(Boolean version) Methods inherited from class com.liferay.portal.search.engine.adapter.search.BaseSearchRequest
addAggregation, addComplexQueryParts, addIndexBoost, addPipelineAggregation, addPostFilterComplexQueryParts, getAggregationsMap, getComplexQueryParts, getExplain, getFacets, getIndexBoosts, getIndexNames, getMinimumScore, getPipelineAggregationsMap, getPointInTime, getPostFilter, getPostFilterComplexQueryParts, getPostFilterQuery, getQuery, getQuery71, getRequestCache, getRescoreQuery, getRescores, getStatsRequests, getTimeoutInMilliseconds, getTrackTotalHits, getTypes, isBasicFacetSelection, isExplain, isIncludeResponseString, isRequestCache, isTrackTotalHits, putAllFacets, putFacet, setBasicFacetSelection, setExplain, setIncludeResponseString, setIndexNames, setMinimumScore, setPointInTime, setPostFilter, setPostFilterQuery, setQuery, setQuery, setRequestCache, setRescoreQuery, setRescores, setStatsRequests, setTimeoutInMilliseconds, setTrackTotalHits, setTypes
Methods inherited from class com.liferay.portal.search.engine.adapter.ccr.CrossClusterRequest
getConnectionId, isPreferLocalCluster, setConnectionId, setPreferLocalCluster
-
Constructor Details
-
SearchSearchRequest
public SearchSearchRequest()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceSearchRequest<SearchSearchResponse>
-
addSorts
public void addSorts(com.liferay.portal.search.sort.Sort... sorts) -
getAlternateUidFieldName
-
getCollapse
public com.liferay.portal.search.collapse.Collapse getCollapse() -
getFetchSource
-
getFetchSourceExcludes
-
getFetchSourceIncludes
-
getGroupBy
Deprecated.As of Mueller (7.2.x), replaced by GroupByRequest -
getGroupByRequests
-
getHighlight
public com.liferay.portal.search.highlight.Highlight getHighlight()- Overrides:
getHighlight
in classBaseSearchRequest
-
getHighlightFieldNames
-
getHighlightFragmentSize
public int getHighlightFragmentSize() -
getHighlightSnippetSize
public int getHighlightSnippetSize() -
getLocale
-
getPreference
-
getScoreEnabled
-
getScrollId
-
getScrollKeepAliveMinutes
public long getScrollKeepAliveMinutes() -
getSearchAfter
-
getSelectedFieldNames
-
getSize
-
getSorts
-
getSorts71
Deprecated.As of Mueller (7.2.x), replaced by Sort -
getStart
-
getStats
Deprecated.As of Mueller (7.2.x), replaced by com.liferay.portal.search.stats.StatsRequest -
getStoredFields
-
getVersion
-
isAllFieldsSelected
public boolean isAllFieldsSelected() -
isHighlightEnabled
public boolean isHighlightEnabled() -
isHighlightRequireFieldMatch
public boolean isHighlightRequireFieldMatch() -
isLuceneSyntax
public boolean isLuceneSyntax() -
isScoreEnabled
public boolean isScoreEnabled() -
putAllStats
-
setAllFieldsSelected
public void setAllFieldsSelected(boolean allFieldsSelected) -
setAlternateUidFieldName
-
setCollapse
public void setCollapse(com.liferay.portal.search.collapse.Collapse collapse) -
setFetchSource
-
setFetchSourceExcludes
-
setFetchSourceIncludes
-
setGroupBy
Deprecated.As of Mueller (7.2.x), replaced by GroupByRequest -
setGroupByRequests
public void setGroupByRequests(Collection<com.liferay.portal.search.groupby.GroupByRequest> groupByRequests) -
setHighlight
public void setHighlight(com.liferay.portal.search.highlight.Highlight highlight) - Overrides:
setHighlight
in classBaseSearchRequest
-
setHighlightEnabled
public void setHighlightEnabled(boolean highlightEnabled) -
setHighlightFieldNames
-
setHighlightFragmentSize
public void setHighlightFragmentSize(int highlightFragmentSize) -
setHighlightRequireFieldMatch
public void setHighlightRequireFieldMatch(boolean highlightRequireFieldMatch) -
setHighlightSnippetSize
public void setHighlightSnippetSize(int highlightSnippetSize) -
setLocale
-
setLuceneSyntax
public void setLuceneSyntax(boolean luceneSyntax) -
setPreference
-
setScoreEnabled
public void setScoreEnabled(boolean scoreEnabled) -
setScrollId
-
setScrollKeepAliveMinutes
public void setScrollKeepAliveMinutes(long scrollKeepAliveMinutes) -
setSearchAfter
-
setSelectedFieldNames
-
setSize
-
setSorts
-
setSorts
Deprecated.As of Mueller (7.2.x), replaced by Sort -
setStart
-
setStats
Deprecated.As of Mueller (7.2.x), replaced by com.liferay.portal.search.stats.StatsRequest -
setStoredFields
-
setVersion
-