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
QueryConfig
public QueryConfig()
getAttribute
public Serializable getAttribute(String name)
getAttributes
public Map<String,Serializable> getAttributes()
getHighlightFragmentSize
public int getHighlightFragmentSize()
getHighlightSnippetSize
public int getHighlightSnippetSize()
getLocale
public Locale getLocale()
isHighlightEnabled
public boolean isHighlightEnabled()
isScoreEnabled
public boolean isScoreEnabled()
removeAttribute
public Serializable removeAttribute(String name)
setAttribute
public void setAttribute(String name,
Serializable value)
setHighlightEnabled
public void setHighlightEnabled(boolean highlightEnabled)
setHighlightFragmentSize
public void setHighlightFragmentSize(int highlightFragmentSize)
setHighlightSnippetSize
public void setHighlightSnippetSize(int highlightSnippetSize)
setLocale
public void setLocale(Locale locale)
setScoreEnabled
public void setScoreEnabled(boolean scoreEnabled)