public interface QueryAdapterFOSearch
Modifier and Type | Field and Description |
---|---|
static int |
MAX_PRIORITY
Maximum priority.
|
static int |
MIN_PRIORITY
Minimum priority.
|
Modifier and Type | Method and Description |
---|---|
void |
addDocumentType(List<String> documentTypes)
Add document type
|
int |
getPriority()
Retrieves the priority to modify the query.
This can be used to process a query modification before an other. |
Query |
modifyQuery(Query query,
Request request,
Collection<String> siteNames,
String language)
Modify the FO search query.
|
Set<FrontOfficeSearcherFactory.QueryFacet> |
modifyQueryFacets(Set<FrontOfficeSearcherFactory.QueryFacet> queryFacets,
Request request)
Modify the query facets
|
Query |
modifySitemapQueryFilter(Query sitemapQuery,
Request request,
Collection<String> siteNames,
String language)
Modify the sitemap query.
|
Query |
modifySiteQueryFilter(Query siteQuery,
Request request,
Collection<String> siteNames,
String language)
Modify the site query.
|
static final int MIN_PRIORITY
static final int MAX_PRIORITY
Query modifyQuery(Query query, Request request, Collection<String> siteNames, String language)
query
- the initial queryrequest
- The requestsiteNames
- The site names.language
- The languageQuery modifySiteQueryFilter(Query siteQuery, Request request, Collection<String> siteNames, String language)
siteQuery
- the initial site queryrequest
- The requestsiteNames
- The site names.language
- The languageQuery modifySitemapQueryFilter(Query sitemapQuery, Request request, Collection<String> siteNames, String language)
sitemapQuery
- the initial sitemap queryrequest
- The requestsiteNames
- The site names.language
- The languageSet<FrontOfficeSearcherFactory.QueryFacet> modifyQueryFacets(Set<FrontOfficeSearcherFactory.QueryFacet> queryFacets, Request request)
queryFacets
- the initial query facetsrequest
- the requestvoid addDocumentType(List<String> documentTypes)
documentTypes
- the document typesint getPriority()