@Configuration public abstract class AbstractReactiveElasticsearchConfiguration extends ElasticsearchConfigurationSupport
ElasticsearchConfigurationSupport| Constructor and Description |
|---|
AbstractReactiveElasticsearchConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected org.elasticsearch.action.support.IndicesOptions |
indicesOptions()
Set up the read
IndicesOptions. |
abstract ReactiveElasticsearchClient |
reactiveElasticsearchClient()
Return the
ReactiveElasticsearchClient instance used to connect to the cluster. |
ReactiveElasticsearchOperations |
reactiveElasticsearchTemplate()
Creates
ReactiveElasticsearchOperations. |
protected org.elasticsearch.action.support.WriteRequest.RefreshPolicy |
refreshPolicy()
Set up the write
WriteRequest.RefreshPolicy. |
elasticsearchConverter, elasticsearchCustomConversions, elasticsearchMappingContext, entityMapper, getInitialEntitySet, getMappingBasePackages, resultsMapper, scanForEntitiespublic AbstractReactiveElasticsearchConfiguration()
public abstract ReactiveElasticsearchClient reactiveElasticsearchClient()
ReactiveElasticsearchClient instance used to connect to the cluster. Bean in case you want to expose a ReactiveElasticsearchClient instance to the
ApplicationContext.@Bean public ReactiveElasticsearchOperations reactiveElasticsearchTemplate()
ReactiveElasticsearchOperations.@Nullable protected org.elasticsearch.action.support.WriteRequest.RefreshPolicy refreshPolicy()
WriteRequest.RefreshPolicy. Default is set to WriteRequest.RefreshPolicy.IMMEDIATE.@Nullable protected org.elasticsearch.action.support.IndicesOptions indicesOptions()
IndicesOptions. Default is set to IndicesOptions.strictExpandOpenAndForbidClosed().Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.