public class SearchSearchRequest extends BaseSearchRequest implements SearchRequest<SearchSearchResponse>
Constructor and Description |
---|
SearchSearchRequest() |
Modifier and Type | Method and Description |
---|---|
SearchSearchResponse |
accept(SearchRequestExecutor searchRequestExecutor) |
java.lang.String |
getAlternateUidFieldName() |
com.liferay.portal.kernel.search.GroupBy |
getGroupBy() |
java.util.List<com.liferay.portal.search.groupby.GroupByRequest> |
getGroupByRequests() |
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.String[] |
getSelectedFieldNames() |
int |
getSize() |
com.liferay.portal.kernel.search.Sort[] |
getSorts() |
int |
getStart() |
java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> |
getStats() |
boolean |
isHighlightEnabled() |
boolean |
isHighlightRequireFieldMatch() |
boolean |
isLuceneSyntax() |
boolean |
isScoreEnabled() |
void |
putAllStats(java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> stats) |
void |
setAlternateUidFieldName(java.lang.String alternateUidFieldName) |
void |
setGroupBy(com.liferay.portal.kernel.search.GroupBy groupBy) |
void |
setGroupByRequests(java.util.Collection<com.liferay.portal.search.groupby.GroupByRequest> groupByRequests) |
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 |
setScoreEnabled(boolean scoreEnabled) |
void |
setSelectedFieldNames(java.lang.String... selectedFieldNames) |
void |
setSize(int size) |
void |
setSorts(com.liferay.portal.kernel.search.Sort[] sorts) |
void |
setStart(int start) |
void |
setStats(java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> stats) |
getFacets, getIndexNames, getMinimumScore, getPostFilter, getQuery, getTimeoutInMilliseconds, isBasicFacetSelection, isRequestCache, isTrackTotalHits, putAllFacets, putFacet, setBasicFacetSelection, setIndexNames, setMinimumScore, setPostFilter, setQuery, setRequestCache, setTimeoutInMilliseconds, setTrackTotalHits
public SearchSearchResponse accept(SearchRequestExecutor searchRequestExecutor)
accept
in interface SearchRequest<SearchSearchResponse>
public java.lang.String getAlternateUidFieldName()
public com.liferay.portal.kernel.search.GroupBy getGroupBy()
public java.util.List<com.liferay.portal.search.groupby.GroupByRequest> getGroupByRequests()
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.String[] getSelectedFieldNames()
public int getSize()
public com.liferay.portal.kernel.search.Sort[] getSorts()
public int getStart()
public java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> getStats()
public boolean isHighlightEnabled()
public boolean isHighlightRequireFieldMatch()
public boolean isLuceneSyntax()
public boolean isScoreEnabled()
public void putAllStats(java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> stats)
public void setAlternateUidFieldName(java.lang.String alternateUidFieldName)
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 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 setScoreEnabled(boolean scoreEnabled)
public void setSelectedFieldNames(java.lang.String... selectedFieldNames)
public void setSize(int size)
public void setSorts(com.liferay.portal.kernel.search.Sort[] sorts)
public void setStart(int start)
public void setStats(java.util.Map<java.lang.String,com.liferay.portal.kernel.search.Stats> stats)