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 in
IBigDataRepository (more specifically in an IBigDataSearcher ). |
lumis.service.singleblog | |
lumis.service.tag |
Modifier and Type | Method and Description |
---|---|
static SearchQuery |
SearchQueryUtil.getSearchQuery(String userQuery,
Map<DocumentTypeField,Float> fieldsBoost,
ServiceInstanceConfig searchServiceInstanceConfig,
Collection<String> publishedContextIds,
Collection<SearchQuerySort> sorts,
int startAt,
int maxRows)
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 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)
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 forceIncludePublishedContexts)
Returns the search query using the given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
IBigDataIndexer.deleteDocumentsByQuery(SearchQuery searchQuery)
Deletes documents that are matched by the given search query.
The search query's sorts ,
initial hit and maximum 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 given
search query and returns the search results . |
void |
IBigDataIndexer.updateDocumentsByQuerySync(SearchQuery searchQuery,
Map<String,Object> fieldValues)
Updates documents that matches a
SearchQuery updating their field values according to the
fieldValues map. |
void |
IBigDataSearcher.validate(SearchQuery searchQuery)
Checks is the given
search query is syntactically correct. |
Modifier and Type | Method and Description |
---|---|
void |
ElasticsearchRepository.deleteDocumentsByQuery(SearchQuery searchQuery) |
List<String> |
ElasticsearchRepository.getAutoCompleteSuggestions(SearchQuery searchQuery,
AutoCompleteSuggestionConfig autoCompleteSuggestion) |
org.elasticsearch.action.search.SearchRequestBuilder |
ElasticsearchRepository.getElasticsearchQuery(SearchQuery searchQuery)
Returns the Elasticsearch search query for the given
SearchQuery . |
ISearchResults |
ElasticsearchRepository.search(SearchQuery searchQuery) |
void |
ElasticsearchRepository.validate(SearchQuery searchQuery) |
Modifier and Type | Method and Description |
---|---|
SearchQuery |
SearchQuery.addAggregation(IAggregation aggregation)
Adds the given aggregation in this search query.
|
SearchQuery |
SearchQuery.addAggregations(IAggregation... aggregations)
Adds the given aggregations in this search query.
|
SearchQuery |
SearchQuery.addAggregations(List<IAggregation> aggregations)
Adds the given aggregations in this search query.
|
SearchQuery |
SearchQuery.addFieldBoost(DocumentTypeField documentTypeField,
float boost)
Adds a field boost to search.
|
SearchQuery |
SearchQuery.addFieldBoost(String fieldId,
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 the
maximum number of hits . |
SearchQuery |
SearchQuery.setStartAt(int startAt)
Sets the
number of the first hit .This number is 1-based (the first result is the result number 1). |
SearchQuery |
SearchQuery.setUserQuery(String query)
Sets the
user query . |
Modifier and Type | Method and Description |
---|---|
protected SearchQuery |
SingleBlogTagListDataProvider.getBaseQuery(TabularSource source) |
Modifier and Type | Method and Description |
---|---|
protected SearchQuery |
GenericServiceInstancesTagListDataProvider.getBaseQuery(T source)
Returns the base search query.
|
Modifier and Type | Method and Description |
---|---|
protected void |
GenericServiceInstancesTagListDataProvider.addSearchAggregation(SearchQuery query,
T source)
Adds the search aggregation on the given
search 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.
|
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.