Package | Description |
---|---|
org.springframework.data.elasticsearch.core | |
org.springframework.data.elasticsearch.core.convert | |
org.springframework.data.elasticsearch.core.index |
Classes related to Elasticsearch index management.
|
org.springframework.data.elasticsearch.core.query | |
org.springframework.data.elasticsearch.repository.query |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Flux<org.elasticsearch.search.aggregations.Aggregation> |
ReactiveSearchOperations.aggregate(Query query,
Class<?> entityType)
Perform an aggregation specified by the given
query . |
reactor.core.publisher.Flux<org.elasticsearch.search.aggregations.Aggregation> |
ReactiveElasticsearchTemplate.aggregate(Query query,
Class<?> entityType) |
reactor.core.publisher.Flux<org.elasticsearch.search.aggregations.Aggregation> |
ReactiveSearchOperations.aggregate(Query query,
Class<?> entityType,
IndexCoordinates index)
Perform an aggregation specified by the given
query . |
reactor.core.publisher.Flux<org.elasticsearch.search.aggregations.Aggregation> |
ReactiveElasticsearchTemplate.aggregate(Query query,
Class<?> entityType,
IndexCoordinates index) |
reactor.core.publisher.Mono<Long> |
ReactiveSearchOperations.count(Query query,
Class<?> entityType)
Count the number of documents matching the given
Query . |
reactor.core.publisher.Mono<Long> |
ReactiveElasticsearchTemplate.count(Query query,
Class<?> entityType) |
long |
AbstractElasticsearchTemplate.count(Query query,
Class<?> clazz) |
long |
SearchOperations.count(Query query,
Class<?> clazz)
return number of elements found by given query
|
reactor.core.publisher.Mono<Long> |
ReactiveSearchOperations.count(Query query,
Class<?> entityType,
IndexCoordinates index)
Count the number of documents matching the given
Query . |
long |
ElasticsearchTemplate.count(Query query,
Class<?> clazz,
IndexCoordinates index)
Deprecated.
|
reactor.core.publisher.Mono<Long> |
ReactiveElasticsearchTemplate.count(Query query,
Class<?> entityType,
IndexCoordinates index) |
long |
ElasticsearchRestTemplate.count(Query query,
Class<?> clazz,
IndexCoordinates index) |
long |
SearchOperations.count(Query query,
Class<?> clazz,
IndexCoordinates index)
return number of elements found by given query
|
default long |
SearchOperations.count(Query query,
IndexCoordinates index)
Return number of elements found by given query.
|
ByQueryResponse |
DocumentOperations.delete(Query query,
Class<?> clazz)
Delete all records matching the query.
|
reactor.core.publisher.Mono<ByQueryResponse> |
ReactiveDocumentOperations.delete(Query query,
Class<?> entityType)
Delete the documents matching the given
Query extracting index from entity metadata. |
reactor.core.publisher.Mono<ByQueryResponse> |
ReactiveElasticsearchTemplate.delete(Query query,
Class<?> entityType) |
ByQueryResponse |
AbstractElasticsearchTemplate.delete(Query query,
Class<?> clazz) |
ByQueryResponse |
DocumentOperations.delete(Query query,
Class<?> clazz,
IndexCoordinates index)
Delete all records matching the query.
|
ByQueryResponse |
ElasticsearchTemplate.delete(Query query,
Class<?> clazz,
IndexCoordinates index)
Deprecated.
|
reactor.core.publisher.Mono<ByQueryResponse> |
ReactiveDocumentOperations.delete(Query query,
Class<?> entityType,
IndexCoordinates index)
Delete the documents matching the given
Query extracting index from entity metadata. |
reactor.core.publisher.Mono<ByQueryResponse> |
ReactiveElasticsearchTemplate.delete(Query query,
Class<?> entityType,
IndexCoordinates index) |
ByQueryResponse |
ElasticsearchRestTemplate.delete(Query query,
Class<?> clazz,
IndexCoordinates index) |
<T> List<MultiGetItem<T>> |
DocumentOperations.multiGet(Query query,
Class<T> clazz)
Execute a multiGet against elasticsearch for the given ids.
|
<T> reactor.core.publisher.Flux<MultiGetItem<T>> |
ReactiveDocumentOperations.multiGet(Query query,
Class<T> clazz)
Execute a multiGet against elasticsearch for the given ids.
|
<T> reactor.core.publisher.Flux<MultiGetItem<T>> |
ReactiveElasticsearchTemplate.multiGet(Query query,
Class<T> clazz) |
<T> List<MultiGetItem<T>> |
AbstractElasticsearchTemplate.multiGet(Query query,
Class<T> clazz) |
<T> List<MultiGetItem<T>> |
DocumentOperations.multiGet(Query query,
Class<T> clazz,
IndexCoordinates index)
Execute a multiGet against elasticsearch for the given ids.
|
<T> List<MultiGetItem<T>> |
ElasticsearchTemplate.multiGet(Query query,
Class<T> clazz,
IndexCoordinates index)
Deprecated.
|
<T> reactor.core.publisher.Flux<MultiGetItem<T>> |
ReactiveDocumentOperations.multiGet(Query query,
Class<T> clazz,
IndexCoordinates index)
Execute a multiGet against elasticsearch for the given ids.
|
<T> reactor.core.publisher.Flux<MultiGetItem<T>> |
ReactiveElasticsearchTemplate.multiGet(Query query,
Class<T> clazz,
IndexCoordinates index) |
<T> List<MultiGetItem<T>> |
ElasticsearchRestTemplate.multiGet(Query query,
Class<T> clazz,
IndexCoordinates index) |
<T> reactor.core.publisher.Flux<SearchHit<T>> |
ReactiveSearchOperations.search(Query query,
Class<?> entityType,
Class<T> returnType)
Search the index for entities matching the given
query . |
<T> reactor.core.publisher.Flux<SearchHit<T>> |
ReactiveElasticsearchTemplate.search(Query query,
Class<?> entityType,
Class<T> returnType) |
<T> reactor.core.publisher.Flux<SearchHit<T>> |
ReactiveSearchOperations.search(Query query,
Class<?> entityType,
Class<T> resultType,
IndexCoordinates index)
Search the index for entities matching the given
query . |
<T> reactor.core.publisher.Flux<SearchHit<T>> |
ReactiveElasticsearchTemplate.search(Query query,
Class<?> entityType,
Class<T> resultType,
IndexCoordinates index) |
default <T> reactor.core.publisher.Flux<SearchHit<T>> |
ReactiveSearchOperations.search(Query query,
Class<T> entityType)
Search the index for entities matching the given
query . |
<T> SearchHits<T> |
AbstractElasticsearchTemplate.search(Query query,
Class<T> clazz) |
<T> SearchHits<T> |
SearchOperations.search(Query query,
Class<T> clazz)
Execute the criteria query against elasticsearch and return result as
SearchHits |
default <T> reactor.core.publisher.Flux<SearchHit<T>> |
ReactiveSearchOperations.search(Query query,
Class<T> entityType,
IndexCoordinates index)
Search the index for entities matching the given
query . |
<T> SearchHits<T> |
ElasticsearchTemplate.search(Query query,
Class<T> clazz,
IndexCoordinates index)
Deprecated.
|
<T> SearchHits<T> |
ElasticsearchRestTemplate.search(Query query,
Class<T> clazz,
IndexCoordinates index) |
<T> SearchHits<T> |
SearchOperations.search(Query query,
Class<T> clazz,
IndexCoordinates index)
Execute the criteria query against elasticsearch and return result as
SearchHits |
<T> reactor.core.publisher.Mono<SearchPage<T>> |
ReactiveSearchOperations.searchForPage(Query query,
Class<?> entityType,
Class<T> resultType)
Search the index for entities matching the given
query . |
<T> reactor.core.publisher.Mono<SearchPage<T>> |
ReactiveElasticsearchTemplate.searchForPage(Query query,
Class<?> entityType,
Class<T> resultType) |
<T> reactor.core.publisher.Mono<SearchPage<T>> |
ReactiveSearchOperations.searchForPage(Query query,
Class<?> entityType,
Class<T> resultType,
IndexCoordinates index)
Search the index for entities matching the given
query . |
<T> reactor.core.publisher.Mono<SearchPage<T>> |
ReactiveElasticsearchTemplate.searchForPage(Query query,
Class<?> entityType,
Class<T> resultType,
IndexCoordinates index) |
default <T> reactor.core.publisher.Mono<SearchPage<T>> |
ReactiveSearchOperations.searchForPage(Query query,
Class<T> entityType)
Search the index for entities matching the given
query . |
default <T> reactor.core.publisher.Mono<SearchPage<T>> |
ReactiveSearchOperations.searchForPage(Query query,
Class<T> entityType,
IndexCoordinates index)
Search the index for entities matching the given
query . |
<T> SearchHitsIterator<T> |
AbstractElasticsearchTemplate.searchForStream(Query query,
Class<T> clazz) |
<T> SearchHitsIterator<T> |
SearchOperations.searchForStream(Query query,
Class<T> clazz)
Executes the given
Query against elasticsearch and return result as SearchHitsIterator . |
<T> SearchHitsIterator<T> |
AbstractElasticsearchTemplate.searchForStream(Query query,
Class<T> clazz,
IndexCoordinates index) |
<T> SearchHitsIterator<T> |
SearchOperations.searchForStream(Query query,
Class<T> clazz,
IndexCoordinates index)
Executes the given
Query against elasticsearch and return result as SearchHitsIterator . |
default <T> SearchHit<T> |
SearchOperations.searchOne(Query query,
Class<T> clazz)
Execute the query against elasticsearch and return the first returned object.
|
default <T> SearchHit<T> |
SearchOperations.searchOne(Query query,
Class<T> clazz,
IndexCoordinates index)
Execute the query against elasticsearch and return the first returned object.
|
<T> SearchScrollHits<T> |
ElasticsearchTemplate.searchScrollStart(long scrollTimeInMillis,
Query query,
Class<T> clazz,
IndexCoordinates index)
Deprecated.
|
protected abstract <T> SearchScrollHits<T> |
AbstractElasticsearchTemplate.searchScrollStart(long scrollTimeInMillis,
Query query,
Class<T> clazz,
IndexCoordinates index) |
<T> SearchScrollHits<T> |
ElasticsearchRestTemplate.searchScrollStart(long scrollTimeInMillis,
Query query,
Class<T> clazz,
IndexCoordinates index) |
Modifier and Type | Method and Description |
---|---|
<T> List<SearchHits<T>> |
AbstractElasticsearchTemplate.multiSearch(List<? extends Query> queries,
Class<T> clazz) |
<T> List<SearchHits<T>> |
SearchOperations.multiSearch(List<? extends Query> queries,
Class<T> clazz)
Execute the multi search query against elasticsearch and return result as
List of SearchHits . |
<T> List<SearchHits<T>> |
AbstractElasticsearchTemplate.multiSearch(List<? extends Query> queries,
Class<T> clazz,
IndexCoordinates index) |
<T> List<SearchHits<T>> |
SearchOperations.multiSearch(List<? extends Query> queries,
Class<T> clazz,
IndexCoordinates index)
Execute the multi search query against elasticsearch and return result as
List of SearchHits . |
List<SearchHits<?>> |
AbstractElasticsearchTemplate.multiSearch(List<? extends Query> queries,
List<Class<?>> classes) |
List<SearchHits<?>> |
SearchOperations.multiSearch(List<? extends Query> queries,
List<Class<?>> classes)
Execute the multi search query against elasticsearch and return result as
List of SearchHits . |
List<SearchHits<?>> |
AbstractElasticsearchTemplate.multiSearch(List<? extends Query> queries,
List<Class<?>> classes,
IndexCoordinates index) |
List<SearchHits<?>> |
SearchOperations.multiSearch(List<? extends Query> queries,
List<Class<?>> classes,
IndexCoordinates index)
Execute the multi search query against elasticsearch and return result as
List of SearchHits . |
Modifier and Type | Method and Description |
---|---|
void |
ElasticsearchConverter.updateQuery(Query query,
Class<?> domainClass)
Updates a
Query by renaming the property names in the query to the correct mapped field names and the
values to the converted values if the ElasticsearchPersistentProperty for a property has a
ElasticsearchPersistentPropertyConverter . |
void |
MappingElasticsearchConverter.updateQuery(Query query,
Class<?> domainClass) |
Modifier and Type | Method and Description |
---|---|
Query |
AliasActionParameters.getFilterQuery() |
Modifier and Type | Method and Description |
---|---|
AliasActionParameters.Builder |
AliasActionParameters.Builder.withFilterQuery(Query filterQuery) |
AliasActionParameters.Builder |
AliasActionParameters.Builder.withFilterQuery(Query filterQuery,
Class<?> filterQueryClass) |
Modifier and Type | Class and Description |
---|---|
class |
CriteriaQuery
CriteriaQuery
|
class |
NativeSearchQuery
A query created from Elasticsearch QueryBuilder instances.
|
class |
StringQuery
StringQuery
|
Modifier and Type | Method and Description |
---|---|
<T extends Query> |
Query.addSort(Sort sort)
Add
Sort to query |
<T extends Query> |
Query.setPageable(Pageable pageable)
restrict result to entries on given page.
|
Modifier and Type | Method and Description |
---|---|
static Query |
Query.findAll()
Get a
Query that matches all documents in the index. |
static Query |
CriteriaQuery.fromQuery(CriteriaQuery source) |
Query |
UpdateQuery.getQuery() |
Query |
RescorerQuery.getQuery() |
Modifier and Type | Method and Description |
---|---|
static UpdateQuery.Builder |
UpdateQuery.builder(Query query) |
Constructor and Description |
---|
RescorerQuery(Query query) |
Modifier and Type | Method and Description |
---|---|
protected Query |
ReactivePartTreeElasticsearchQuery.createQuery(ElasticsearchParameterAccessor accessor) |
Modifier and Type | Method and Description |
---|---|
Object |
ReactiveElasticsearchQueryExecution.execute(Query query,
Class<?> type,
Class<?> targetType,
IndexCoordinates indexCoordinates) |
Object |
ReactiveElasticsearchQueryExecution.ResultProcessingExecution.execute(Query query,
Class<?> type,
Class<?> targetType,
IndexCoordinates indexCoordinates) |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.