All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
private SearcherFactory.Searcher |
_searcher(Map<String,List<String>> facetValues) |
private SearcherFactory.Searcher |
_searcher(Query query,
Map<String,List<String>> facetValues) |
private SearcherFactory.Searcher |
_searcher(String query,
Map<String,List<String>> facetValues) |
ContentSearcherFactory.SimpleContentSearcher |
addSort(String fieldRef,
Sort.Order order)
Add a sort criterion.
|
protected List<SearchField> |
getFacets()
Get the facet criteria as a list of SearchField from the specified field names.
|
protected List<Sort> |
getSort()
Get the sort criteria from the specified field names.
|
<C extends Content> AmetysObjectIterable<C> |
search(Query query)
Search the contents.
|
<C extends Content> AmetysObjectIterable<C> |
search(String query)
Search the contents.
|
<C extends Content> SearchResults<C> |
searchWithFacets(Query query)
Search the contents.
|
<C extends Content> SearchResults<C> |
searchWithFacets(Query query,
Map<String,List<String>> facetValues)
Search the contents.
|
<C extends Content> SearchResults<C> |
searchWithFacets(String query)
Search the contents.
|
<C extends Content> SearchResults<C> |
searchWithFacets(String query,
Map<String,List<String>> facetValues)
Search the contents.
|
ContentSearcherFactory.SimpleContentSearcher |
setCheckRights(boolean checkRights)
Whether to check rights when searching, false otherwise.
|
ContentSearcherFactory.SimpleContentSearcher |
withFacets(Collection<String> facets)
Set the facets.
|
ContentSearcherFactory.SimpleContentSearcher |
withFacets(String... facets)
Set the facets.
|
ContentSearcherFactory.SimpleContentSearcher |
withFilterQueries(List<Query> filterQueries)
Set the filter queries.
|
ContentSearcherFactory.SimpleContentSearcher |
withFilterQueryStrings(List<String> filterQueryStrings)
Set the filter queries.
|
ContentSearcherFactory.SimpleContentSearcher |
withLimits(int start,
int maxResults)
Set the limits to use.
|
ContentSearcherFactory.SimpleContentSearcher |
withSort(List<Sort> sortCriteria)
Set the sort criteria.
|