public class SearchSearchRequest extends BaseSearchRequest implements SearchRequest<SearchSearchResponse>
Constructor and Description |
---|
SearchSearchRequest() |
Modifier and Type | Method and Description |
---|---|
SearchSearchResponse |
accept(SearchRequestExecutor searchRequestExecutor) |
void |
addSorts(com.liferay.portal.search.sort.Sort... sorts) |
java.lang.String |
getAlternateUidFieldName() |
java.lang.Boolean |
getFetchSource() |
java.lang.String[] |
getFetchSourceExcludes() |
java.lang.String[] |
getFetchSourceIncludes() |
com.liferay.portal.kernel.search.GroupBy |
getGroupBy()
Deprecated.
As of Mueller (7.2.x), replaced by GroupByRequest
|
java.util.List<com.liferay.portal.search.groupby.GroupByRequest> |
getGroupByRequests() |
com.liferay.portal.search.highlight.Highlight |
getHighlight() |
java.lang.String[] |
getHighlightFieldNames() |
int |
getHighlightFragmentSize() |
int |
getHighlightSnippetSize() |
java.util.Locale |
getLocale() |
java.lang.String |
getPreference() |
com.liferay.portal.kernel.search.QueryConfig |
getQueryConfig()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
java.lang.Boolean |
getScoreEnabled() |
java.lang.String[] |
getSelectedFieldNames() |
int |
getSize() |
com.liferay.portal.kernel.search.Sort[] |
getSorts()
Deprecated.
As of Mueller (7.2.x), replaced by Sort
|
java.util.List<com.liferay.portal.search.sort.Sort> |
getSorts72() |
int |
getStart() |
java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> |
getStats()
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.portal.search.stats.StatsRequest
|
java.lang.Boolean |
getVersion() |
boolean |
isAllFieldsSelected() |
boolean |
isHighlightEnabled() |
boolean |
isHighlightRequireFieldMatch() |
boolean |
isLuceneSyntax() |
boolean |
isPreferLocalCluster() |
boolean |
isScoreEnabled() |
boolean |
isSizeSet() |
boolean |
isStartSet(boolean startSet) |
void |
putAllStats(java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> stats) |
void |
setAllFieldsSelected(boolean allFieldsSelected) |
void |
setAlternateUidFieldName(java.lang.String alternateUidFieldName) |
void |
setFetchSource(java.lang.Boolean fetchSource) |
void |
setFetchSourceExcludes(java.lang.String[] fetchSourceExcludes) |
void |
setFetchSourceIncludes(java.lang.String[] fetchSourceIncludes) |
void |
setGroupBy(com.liferay.portal.kernel.search.GroupBy groupBy)
Deprecated.
As of Mueller (7.2.x), replaced by GroupByRequest
|
void |
setGroupByRequests(java.util.Collection<com.liferay.portal.search.groupby.GroupByRequest> groupByRequests) |
void |
setHighlight(com.liferay.portal.search.highlight.Highlight highlight) |
void |
setHighlightEnabled(boolean highlightEnabled) |
void |
setHighlightFieldNames(java.lang.String... highlightFieldNames) |
void |
setHighlightFragmentSize(int highlightFragmentSize) |
void |
setHighlightRequireFieldMatch(boolean highlightRequireFieldMatch) |
void |
setHighlightSnippetSize(int highlightSnippetSize) |
void |
setLocale(java.util.Locale locale) |
void |
setLuceneSyntax(boolean luceneSyntax) |
void |
setPreference(java.lang.String preference) |
void |
setPreferLocalCluster(boolean preferLocalCluster) |
void |
setScoreEnabled(boolean scoreEnabled) |
void |
setSelectedFieldNames(java.lang.String... selectedFieldNames) |
void |
setSize(int size) |
void |
setSize(java.lang.Integer size) |
void |
setSorts(java.util.Collection<com.liferay.portal.search.sort.Sort> sorts) |
void |
setSorts(com.liferay.portal.kernel.search.Sort[] sorts)
Deprecated.
As of Mueller (7.2.x), replaced by Sort
|
void |
setStart(int start) |
void |
setStart(java.lang.Integer start) |
void |
setStartSet(boolean startSet) |
void |
setStats(java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> stats)
Deprecated.
As of Mueller (7.2.x), replaced by
com.liferay.portal.search.stats.StatsRequest
|
void |
setVersion(java.lang.Boolean version) |
addAggregation, addComplexQueryParts, addIndexBoost, addPipelineAggregation, getAggregationsMap, getComplexQueryParts, getExplain, getFacets, getIndexBoosts, getIndexNames, getMinimumScore, getPipelineAggregationsMap, getPostFilter, getPostFilterQuery, getQuery, getQuery72, getRequestCache, getRescoreQuery, getRescores, getStatsRequests, getTimeoutInMilliseconds, getTrackTotalHits, getTypes, isBasicFacetSelection, isExplain, isIncludeResponseString, isRequestCache, isTrackTotalHits, putAllFacets, putFacet, setBasicFacetSelection, setExplain, setIncludeResponseString, setIndexNames, setMinimumScore, setPostFilter, setPostFilterQuery, setQuery, setQuery, setRequestCache, setRescoreQuery, setRescores, setStatsRequests, setTimeoutInMilliseconds, setTrackTotalHits, setTypes
public SearchSearchResponse accept(SearchRequestExecutor searchRequestExecutor)
accept
in interface SearchRequest<SearchSearchResponse>
public void addSorts(com.liferay.portal.search.sort.Sort... sorts)
public java.lang.String getAlternateUidFieldName()
public java.lang.Boolean getFetchSource()
public java.lang.String[] getFetchSourceExcludes()
public java.lang.String[] getFetchSourceIncludes()
@Deprecated public com.liferay.portal.kernel.search.GroupBy getGroupBy()
public java.util.List<com.liferay.portal.search.groupby.GroupByRequest> getGroupByRequests()
public com.liferay.portal.search.highlight.Highlight getHighlight()
public java.lang.String[] getHighlightFieldNames()
public int getHighlightFragmentSize()
public int getHighlightSnippetSize()
public java.util.Locale getLocale()
public java.lang.String getPreference()
@Deprecated public com.liferay.portal.kernel.search.QueryConfig getQueryConfig()
public java.lang.Boolean getScoreEnabled()
public java.lang.String[] getSelectedFieldNames()
public int getSize()
@Deprecated public com.liferay.portal.kernel.search.Sort[] getSorts()
public java.util.List<com.liferay.portal.search.sort.Sort> getSorts72()
public int getStart()
@Deprecated public java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> getStats()
public java.lang.Boolean getVersion()
public boolean isAllFieldsSelected()
public boolean isHighlightEnabled()
public boolean isHighlightRequireFieldMatch()
public boolean isLuceneSyntax()
public boolean isPreferLocalCluster()
public boolean isScoreEnabled()
public boolean isSizeSet()
public boolean isStartSet(boolean startSet)
public void putAllStats(java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> stats)
public void setAllFieldsSelected(boolean allFieldsSelected)
public void setAlternateUidFieldName(java.lang.String alternateUidFieldName)
public void setFetchSource(java.lang.Boolean fetchSource)
public void setFetchSourceExcludes(java.lang.String[] fetchSourceExcludes)
public void setFetchSourceIncludes(java.lang.String[] fetchSourceIncludes)
@Deprecated public void setGroupBy(com.liferay.portal.kernel.search.GroupBy groupBy)
public void setGroupByRequests(java.util.Collection<com.liferay.portal.search.groupby.GroupByRequest> groupByRequests)
public void setHighlight(com.liferay.portal.search.highlight.Highlight highlight)
public void setHighlightEnabled(boolean highlightEnabled)
public void setHighlightFieldNames(java.lang.String... highlightFieldNames)
public void setHighlightFragmentSize(int highlightFragmentSize)
public void setHighlightRequireFieldMatch(boolean highlightRequireFieldMatch)
public void setHighlightSnippetSize(int highlightSnippetSize)
public void setLocale(java.util.Locale locale)
public void setLuceneSyntax(boolean luceneSyntax)
public void setPreference(java.lang.String preference)
public void setPreferLocalCluster(boolean preferLocalCluster)
public void setScoreEnabled(boolean scoreEnabled)
public void setSelectedFieldNames(java.lang.String... selectedFieldNames)
public void setSize(int size)
public void setSize(java.lang.Integer size)
public void setSorts(java.util.Collection<com.liferay.portal.search.sort.Sort> sorts)
@Deprecated public void setSorts(com.liferay.portal.kernel.search.Sort[] sorts)
public void setStart(int start)
public void setStart(java.lang.Integer start)
public void setStartSet(boolean startSet)
@Deprecated public void setStats(java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> stats)
public void setVersion(java.lang.Boolean version)