|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchCriteria
Represents an abstract search criteria. A concrete search criteria needs to extend this interface.
Method Summary | |
---|---|
java.util.Locale |
getLocale()
Returns the Locale . |
boolean |
isFuzzySearchDisabled()
Returns whether or not a fuzzy search should be performed for this query. |
void |
setFuzzySearchDisabled(boolean fuzzySearchDisabled)
Sets whether or not a fuzzy search should be performed for this query. |
void |
setLocale(java.util.Locale locale)
Sets the Locale . |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
java.util.Locale getLocale()
Locale
.
Locale
boolean isFuzzySearchDisabled()
void setFuzzySearchDisabled(boolean fuzzySearchDisabled)
fuzzySearchDisabled
- whether or not fuzzy search is disabledvoid setLocale(java.util.Locale locale)
Locale
. Some contents are indexed in multiple locales. The Locale
given here decides what contents get
searched.
e.g. If you give en
, only English contents get searched. You can give null
to search on system default locale.
locale
- the Locale
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |