com.liferay.portal.kernel.search
Class QueryConfig
java.lang.Object
com.liferay.portal.kernel.search.QueryConfig
- All Implemented Interfaces:
- Serializable
public class QueryConfig
- extends Object
- implements Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCALE
public static final String LOCALE
- See Also:
- Constant Field Values
SEARCH_SUBFOLDERS
public static final String SEARCH_SUBFOLDERS
- See Also:
- Constant Field Values
QueryConfig
public QueryConfig()
getAttribute
public Serializable getAttribute(String name)
getAttributes
public Map<String,Serializable> getAttributes()
getCollatedSpellCheckResultScoresThreshold
public int getCollatedSpellCheckResultScoresThreshold()
getHighlightFragmentSize
public int getHighlightFragmentSize()
getHighlightSnippetSize
public int getHighlightSnippetSize()
getLocale
public Locale getLocale()
getQueryIndexingThreshold
public int getQueryIndexingThreshold()
getQuerySuggestionMax
public int getQuerySuggestionMax()
getQuerySuggestionScoresThreshold
public int getQuerySuggestionScoresThreshold()
isCollatedSpellCheckResultEnabled
public boolean isCollatedSpellCheckResultEnabled()
isHighlightEnabled
public boolean isHighlightEnabled()
isHitsProcessingEnabled
public boolean isHitsProcessingEnabled()
isQueryIndexingEnabled
public boolean isQueryIndexingEnabled()
isQuerySuggestionEnabled
public boolean isQuerySuggestionEnabled()
isScoreEnabled
public boolean isScoreEnabled()
isSearchSubfolders
public boolean isSearchSubfolders()
removeAttribute
public Serializable removeAttribute(String name)
setAttribute
public void setAttribute(String name,
Serializable value)
setCollatedSpellCheckResultEnabled
public void setCollatedSpellCheckResultEnabled(boolean collatedSpellCheckResultEnabled)
setCollatedSpellCheckResultScoresThreshold
public void setCollatedSpellCheckResultScoresThreshold(int collatedSpellCheckResultScoresThreshold)
setHighlightEnabled
public void setHighlightEnabled(boolean highlightEnabled)
setHighlightFragmentSize
public void setHighlightFragmentSize(int highlightFragmentSize)
setHighlightSnippetSize
public void setHighlightSnippetSize(int highlightSnippetSize)
setHitsProcessingEnabled
public void setHitsProcessingEnabled(boolean hitsProcessingEnabled)
setLocale
public void setLocale(Locale locale)
setQueryIndexingEnabled
public void setQueryIndexingEnabled(boolean enabled)
setQueryIndexingThreshold
public void setQueryIndexingThreshold(int queryIndexingThreshold)
setQuerySuggestionEnabled
public void setQuerySuggestionEnabled(boolean querySuggestionEnabled)
setQuerySuggestionScoresThreshold
public void setQuerySuggestionScoresThreshold(int querySuggestionScoresThreshold)
setQuerySuggestionsMax
public void setQuerySuggestionsMax(int querySuggestionMax)
setScoreEnabled
public void setScoreEnabled(boolean scoreEnabled)
setSearchSubfolders
public void setSearchSubfolders(boolean searchSubfolders)