Uses of Class
lumis.portal.bigdata.query.SearchQuery
-
Packages that use SearchQuery Package Description lumis.doui.search lumis.portal.bigdata Provides big data related operations.lumis.portal.bigdata.elasticsearch lumis.portal.bigdata
implementation for using Elasticsearch.lumis.portal.bigdata.query Interfaces and classes used for performing a query inIBigDataRepository
(more specifically in anIBigDataSearcher
).lumis.service.singleblog lumis.service.tag -
-
Uses of SearchQuery in lumis.doui.search
Methods in lumis.doui.search that return SearchQuery Modifier and Type Method Description static SearchQuery
SearchQueryUtil. getSearchQuery(String userQuery, Map<DocumentTypeField,Float> fieldsBoost, ServiceInstanceConfig searchServiceInstanceConfig, Collection<String> publishedContextIds, Collection<SearchQuerySort> sorts, int startAt, int maxRows, boolean includePublicationUrlExistFilter)
Returns the search query using the given parameters.static SearchQuery
SearchQueryUtil. getSearchQuery(String userQuery, Map<DocumentTypeField,Float> fieldsBoost, ServiceInstanceConfig searchServiceInstanceConfig, Collection<String> publishedContextIds, Collection<SearchQuerySort> sorts, int startAt, int maxRows, boolean includePublicationUrlExistFilter, boolean forceIncludePublishedContexts)
Returns the search query using the given parameters.static SearchQuery
SearchQueryUtil. getSearchQuery(String userQuery, ServiceInstanceConfig searchServiceInstanceConfig, Collection<String> publishedContextIds, Collection<SearchQuerySort> sorts, int startAt, int maxRows, boolean includePublicationUrlExistFilter)
Returns the search query using the given parameters.static SearchQuery
SearchQueryUtil. getSearchQuery(String userQuery, ServiceInstanceConfig searchServiceInstanceConfig, Collection<String> publishedContextIds, Collection<SearchQuerySort> sorts, int startAt, int maxRows, boolean includePublicationUrlExistFilter, boolean forceIncludePublishedContexts)
Returns the search query using the given parameters. -
Uses of SearchQuery in lumis.portal.bigdata
Methods in lumis.portal.bigdata with parameters of type SearchQuery Modifier and Type Method Description void
IBigDataIndexer. deleteDocumentsByQuery(SearchQuery searchQuery)
Deletes documents that are matched by the given search query.
The search query'ssorts
,initial hit
andmaximum hit count
will be ignored.List<String>
IBigDataSearcher. getAutoCompleteSuggestions(SearchQuery searchQuery, AutoCompleteSuggestionConfig autoCompleteSuggestion)
Returns a list of auto complete suggestions for the given auto complete suggestion configuration and the search query.ISearchResults
IBigDataSearcher. search(SearchQuery searchQuery)
Runs the givensearch query
and returns thesearch results
.void
IBigDataIndexer. updateDocumentsByQuerySync(SearchQuery searchQuery, Map<String,Object> fieldValues)
Updates documents that matches aSearchQuery
updating their field values according to thefieldValues
map.void
IBigDataSearcher. validate(SearchQuery searchQuery)
Checks is the givensearch query
is syntactically correct. -
Uses of SearchQuery in lumis.portal.bigdata.elasticsearch
Methods in lumis.portal.bigdata.elasticsearch with parameters of type SearchQuery Modifier and Type Method Description void
ElasticsearchRepository. deleteDocumentsByQuery(SearchQuery searchQuery)
List<String>
ElasticsearchRepository. getAutoCompleteSuggestions(SearchQuery searchQuery, AutoCompleteSuggestionConfig autoCompleteSuggestion)
org.elasticsearch.action.search.SearchRequest
ElasticsearchRepository. getElasticsearchQuery(SearchQuery searchQuery)
Returns the Elasticsearch search query for the givenSearchQuery
.String[]
ElasticsearchRepository. getIndices(SearchQuery searchQuery)
Returns the indices to be used for a search query.ISearchResults
ElasticsearchRepository. search(SearchQuery searchQuery)
void
ElasticsearchRepository. validate(SearchQuery searchQuery)
-
Uses of SearchQuery in lumis.portal.bigdata.query
Methods in lumis.portal.bigdata.query that return SearchQuery Modifier and Type Method Description SearchQuery
SearchQuery. addAggregation(IAggregation aggregation)
Adds the given aggregation in this search query.SearchQuery
SearchQuery. addAggregations(List<IAggregation> aggregations)
Adds the given aggregations in this search query.SearchQuery
SearchQuery. addAggregations(IAggregation... aggregations)
Adds the given aggregations in this search query.SearchQuery
SearchQuery. addDocumentTypeIds(String... documentTypes)
Adds the given document types to the scope for this search query.SearchQuery
SearchQuery. addDocumentTypeIds(Collection<String> documentTypeIds)
Adds the given document types to the scope for this search query.SearchQuery
SearchQuery. addDocumentTypes(Collection<? extends DocumentType> documentTypes)
Adds the given document types to the scope for this search query.SearchQuery
SearchQuery. addDocumentTypes(DocumentType... documentTypes)
Adds the given document types to the scope for this search query.SearchQuery
SearchQuery. addFieldBoost(String fieldId, float boost)
Adds a field boost to search.SearchQuery
SearchQuery. addFieldBoost(DocumentTypeField documentTypeField, float boost)
Adds a field boost to search.SearchQuery
SearchQuery. addSort(ISearchQuerySort sort)
Adds a sort definition in this search.SearchQuery
SearchQuery. setControlFilter(ISearchQueryFilter controlFilter)
Sets the query filter to be applied to the search.SearchQuery
SearchQuery. setHighlight(HighlightConfig highlight)
Sets the highlight configuration.SearchQuery
SearchQuery. setMaxRows(int maxRows)
Sets themaximum number of hits
.SearchQuery
SearchQuery. setStartAt(int startAt)
Sets thenumber of the first hit
.
This number is 1-based (the first result is the result number 1).SearchQuery
SearchQuery. setUserQuery(String query)
Sets theuser query
. -
Uses of SearchQuery in lumis.service.singleblog
Methods in lumis.service.singleblog that return SearchQuery Modifier and Type Method Description protected SearchQuery
SingleBlogTagListDataProvider. getBaseQuery(TabularSource source)
-
Uses of SearchQuery in lumis.service.tag
Methods in lumis.service.tag that return SearchQuery Modifier and Type Method Description protected SearchQuery
GenericServiceInstancesTagListDataProvider. getBaseQuery(T source)
Returns the base search query.Methods in lumis.service.tag with parameters of type SearchQuery Modifier and Type Method Description protected void
GenericServiceInstancesTagListDataProvider. addSearchAggregation(SearchQuery query, T source)
Adds the search aggregation on the givensearch query
.protected void
GenericServiceInstancesTagListDataProvider. populateSource(T source, Map<String,IAggregationResult> aggregations, SearchQuery query)
Populates the given source with the given aggregations.protected ISearchResults
GenericServiceInstancesTagListDataProvider. search(T source, SearchQuery query)
Performs the search.protected void
GenericServiceInstancesTagListDataProvider. sortSource(T source, SearchQuery query)
Sorts the given source.
-