public class SearchConfig extends Object
| Constructor and Description |
|---|
SearchConfig() |
| Modifier and Type | Method and Description |
|---|---|
static SearchConfig |
getDefault() |
List<SearchFeature> |
getFeatures() |
List<SortBy> |
getSorts()
A sorted searching result have to order by fields which are appropriate to list of
SortBy |
void |
setFeatures(List<SearchFeature> features)
KEYWORD is mandatory search feature and no need to configured
|
void |
setSorts(List<SortBy> sorts) |
public List<SortBy> getSorts()
SortBySortBypublic List<SearchFeature> getFeatures()
SearchFeature to filterpublic void setFeatures(List<SearchFeature> features)
features - - searching futures. In case of no feature, there should be an empty list
instead of nullpublic void setSorts(List<SortBy> sorts)
sorts - In case of no sorts, there should be an empty list instead of nullpublic static SearchConfig getDefault()
SearchConfig with all SortBy and SearchFeature