Package com.flowable.indexing
Interface SearchService
- All Known Implementing Classes:
SearchServiceImpl
public interface SearchService
Higher-level search client (vs the lower-level
ElasticsearchClient
, that knows about index aliases and will apply them.
Do note that no permission checks get added automatically when passing queries to the methods here.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNode
createCustomQueryForParameters
(com.fasterxml.jackson.databind.JsonNode customFilter, String queryName, Map<String, ConfigParameter> configParameters, Map<String, Object> payload) com.fasterxml.jackson.databind.node.ObjectNode
createCustomQueryForParameters
(String templateResource, Map<String, Object> payload) com.fasterxml.jackson.databind.node.ObjectNode
getSourceById
(String index, String id) This queries by id and removes the boilerplate json (_shards, hits, etc) from the result: it only returns the _source element of the query result.com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.JsonNode
queryMultipleIndices
(Set<String> indices, String queryBody) com.fasterxml.jackson.databind.node.ObjectNode
-
Field Details
-
CUSTOM_QUERY_CURRENT_USER_ID
- See Also:
-
CUSTOM_QUERY_CURRENT_GROUPS
- See Also:
-
CUSTOM_QUERY_CURRENT_TENANT_ID
- See Also:
-
CUSTOM_QUERY_CURRENT_TIME
- See Also:
-
-
Method Details
-
queryMultipleIndices
-
query
-
resolveCustomQuery
-
createCustomQueryForParameters
-
createCustomQueryForParameters
-
getSourceById
This queries by id and removes the boilerplate json (_shards, hits, etc) from the result: it only returns the _source element of the query result.
-