public class QueryConfig
extends Object
implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
LOCALE |
static String |
SEARCH_SUBFOLDERS |
Constructor and Description |
---|
QueryConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addHighlightFieldNames(String... highlightFieldNames) |
void |
addSelectedFieldNames(String... selectedFieldNames) |
String |
getAlternateUidFieldName() |
Serializable |
getAttribute(String name) |
Map<String,Serializable> |
getAttributes() |
int |
getCollatedSpellCheckResultScoresThreshold() |
String[] |
getHighlightFieldNames() |
int |
getHighlightFragmentSize() |
int |
getHighlightSnippetSize() |
Locale |
getLocale() |
int |
getQueryIndexingThreshold() |
int |
getQuerySuggestionMax() |
int |
getQuerySuggestionScoresThreshold() |
String[] |
getSelectedFieldNames() |
String[] |
getSelectedIndexNames() |
String[] |
getSelectedTypes() |
boolean |
isAllFieldsSelected() |
boolean |
isCollatedSpellCheckResultEnabled() |
boolean |
isHighlightEnabled() |
boolean |
isHighlightRequireFieldMatch() |
boolean |
isHitsProcessingEnabled() |
boolean |
isQueryIndexingEnabled() |
boolean |
isQuerySuggestionEnabled() |
boolean |
isScoreEnabled() |
boolean |
isSearchSubfolders() |
Serializable |
removeAttribute(String name) |
void |
setAlternateUidFieldName(String name) |
void |
setAttribute(String name,
Serializable value) |
void |
setCollatedSpellCheckResultEnabled(boolean collatedSpellCheckResultEnabled) |
void |
setCollatedSpellCheckResultScoresThreshold(int collatedSpellCheckResultScoresThreshold) |
void |
setHighlightEnabled(boolean highlightEnabled) |
void |
setHighlightFieldNames(String... highlightFieldNames) |
void |
setHighlightFragmentSize(int highlightFragmentSize) |
void |
setHighlightRequireFieldMatch(boolean highlightRequireFieldMatch) |
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) |
void |
setSelectedFieldNames(String... selectedFieldNames) |
void |
setSelectedIndexNames(String... selectedIndexNames) |
void |
setSelectedTypes(String... selectedTypes) |
public static final String LOCALE
public static final String SEARCH_SUBFOLDERS
public void addHighlightFieldNames(String... highlightFieldNames)
public void addSelectedFieldNames(String... selectedFieldNames)
public String getAlternateUidFieldName()
public Serializable getAttribute(String name)
public Map<String,Serializable> getAttributes()
public int getCollatedSpellCheckResultScoresThreshold()
public String[] getHighlightFieldNames()
public int getHighlightFragmentSize()
public int getHighlightSnippetSize()
public Locale getLocale()
public int getQueryIndexingThreshold()
public int getQuerySuggestionMax()
public int getQuerySuggestionScoresThreshold()
public String[] getSelectedFieldNames()
public String[] getSelectedIndexNames()
public String[] getSelectedTypes()
public boolean isAllFieldsSelected()
public boolean isCollatedSpellCheckResultEnabled()
public boolean isHighlightEnabled()
public boolean isHighlightRequireFieldMatch()
public boolean isHitsProcessingEnabled()
public boolean isQueryIndexingEnabled()
public boolean isQuerySuggestionEnabled()
public boolean isScoreEnabled()
public boolean isSearchSubfolders()
public Serializable removeAttribute(String name)
public void setAlternateUidFieldName(String name)
public void setAttribute(String name, Serializable value)
public void setCollatedSpellCheckResultEnabled(boolean collatedSpellCheckResultEnabled)
public void setCollatedSpellCheckResultScoresThreshold(int collatedSpellCheckResultScoresThreshold)
public void setHighlightEnabled(boolean highlightEnabled)
public void setHighlightFieldNames(String... highlightFieldNames)
public void setHighlightFragmentSize(int highlightFragmentSize)
public void setHighlightRequireFieldMatch(boolean highlightRequireFieldMatch)
public void setHighlightSnippetSize(int highlightSnippetSize)
public void setHitsProcessingEnabled(boolean hitsProcessingEnabled)
public void setLocale(Locale locale)
public void setQueryIndexingEnabled(boolean enabled)
public void setQueryIndexingThreshold(int queryIndexingThreshold)
public void setQuerySuggestionEnabled(boolean querySuggestionEnabled)
public void setQuerySuggestionScoresThreshold(int querySuggestionScoresThreshold)
public void setQuerySuggestionsMax(int querySuggestionMax)
public void setScoreEnabled(boolean scoreEnabled)
public void setSearchSubfolders(boolean searchSubfolders)
public void setSelectedFieldNames(String... selectedFieldNames)
public void setSelectedIndexNames(String... selectedIndexNames)
public void setSelectedTypes(String... selectedTypes)