public class SearchQueryUtil extends Object
Constructor and Description |
---|
SearchQueryUtil() |
Modifier and Type | Method and Description |
---|---|
static SearchQuery |
getSearchQuery(String userQuery,
ServiceInstanceConfig searchServiceInstanceConfig,
Collection<String> publishedContextIds,
Collection<SearchQuerySort> sorts,
int startAt,
int maxRows)
Returns the search query using the given parameters.
|
static SearchQuery |
getSearchQuery(String userQuery,
ServiceInstanceConfig searchServiceInstanceConfig,
Collection<String> publishedContextIds,
Collection<SearchQuerySort> sorts,
int startAt,
int maxRows,
boolean forceIncludePublishedContexts)
Returns the search query using the given parameters.
|
public static SearchQuery getSearchQuery(String userQuery, ServiceInstanceConfig searchServiceInstanceConfig, Collection<String> publishedContextIds, Collection<SearchQuerySort> sorts, int startAt, int maxRows) throws PortalException
userQuery
- the user query.searchServiceInstanceConfig
- the search service instance.publishedContextIds
- the search context identifiers.sorts
- the sorting.startAt
- the start at.maxRows
- the max rows.PortalException
public static SearchQuery getSearchQuery(String userQuery, ServiceInstanceConfig searchServiceInstanceConfig, Collection<String> publishedContextIds, Collection<SearchQuerySort> sorts, int startAt, int maxRows, boolean forceIncludePublishedContexts) throws PortalException
userQuery
- the user query.searchServiceInstanceConfig
- the search service instance.publishedContextIds
- the search context identifiers.sorts
- the sorting.startAt
- the start at.maxRows
- the max rows.PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.