Liferay 6.2-ce-ga5

com.liferay.portal.kernel.search
Class QueryConfig

java.lang.Object
  extended by com.liferay.portal.kernel.search.QueryConfig
All Implemented Interfaces:
Serializable

public class QueryConfig
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static String LOCALE
           
static String SEARCH_SUBFOLDERS
           
 
Constructor Summary
QueryConfig()
           
 
Method Summary
 Serializable getAttribute(String name)
           
 Map<String,Serializable> getAttributes()
           
 int getCollatedSpellCheckResultScoresThreshold()
           
 int getHighlightFragmentSize()
           
 int getHighlightSnippetSize()
           
 Locale getLocale()
           
 int getQueryIndexingThreshold()
           
 int getQuerySuggestionMax()
           
 int getQuerySuggestionScoresThreshold()
           
 boolean isCollatedSpellCheckResultEnabled()
           
 boolean isHighlightEnabled()
           
 boolean isHitsProcessingEnabled()
           
 boolean isQueryIndexingEnabled()
           
 boolean isQuerySuggestionEnabled()
           
 boolean isScoreEnabled()
           
 boolean isSearchSubfolders()
           
 Serializable removeAttribute(String name)
           
 void setAttribute(String name, Serializable value)
           
 void setCollatedSpellCheckResultEnabled(boolean collatedSpellCheckResultEnabled)
           
 void setCollatedSpellCheckResultScoresThreshold(int collatedSpellCheckResultScoresThreshold)
           
 void setHighlightEnabled(boolean highlightEnabled)
           
 void setHighlightFragmentSize(int highlightFragmentSize)
           
 void setHighlightSnippetSize(int highlightSnippetSize)
           
 void setHitsProcessingEnabled(boolean hitsProcessingEnabled)
           
 void setLocale(Locale locale)
           
 void setQueryIndexingEnabled(boolean enabled)
           
 void setQueryIndexingThreshold(int queryIndexingThreshold)
           
 void setQuerySuggestionEnabled(boolean querySuggestionEnabled)
           
 void setQuerySuggestionScoresThreshold(int querySuggestionScoresThreshold)
           
 void setQuerySuggestionsMax(int querySuggestionMax)
           
 void setScoreEnabled(boolean scoreEnabled)
           
 void setSearchSubfolders(boolean searchSubfolders)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALE

public static final String LOCALE
See Also:
Constant Field Values

SEARCH_SUBFOLDERS

public static final String SEARCH_SUBFOLDERS
See Also:
Constant Field Values
Constructor Detail

QueryConfig

public QueryConfig()
Method Detail

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)

Liferay 6.2-ce-ga5