Class SearchElasticsearchAutoConfiguration
java.lang.Object
io.jmix.autoconfigure.searchelasticsearch.SearchElasticsearchAutoConfiguration
@AutoConfiguration
@Import({CoreConfiguration.class,DataConfiguration.class,SearchConfiguration.class,SearchElasticsearchConfiguration.class})
public class SearchElasticsearchAutoConfiguration
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.client.CredentialsProvider
co.elastic.clients.elasticsearch.ElasticsearchClient
protected EntityIndexer
elasticsearchEntityIndexer
(UnconstrainedDataManager dataManager, FetchPlans fetchPlans, IndexConfigurationManager indexConfigurationManager, Metadata metadata, IdSerialization idSerialization, IndexStateRegistry indexStateRegistry, MetadataTools metadataTools, SearchProperties searchProperties, co.elastic.clients.elasticsearch.ElasticsearchClient client) protected EntitySearcher
elasticsearchEntitySearcher
(co.elastic.clients.elasticsearch.ElasticsearchClient client, IndexConfigurationManager indexConfigurationManager, Metadata metadata, MetadataTools metadataTools, DataManager secureDataManager, InstanceNameProvider instanceNameProvider, SearchProperties searchProperties, IdSerialization idSerialization, SecureOperations secureOperations, PolicyStore policyStore, ElasticsearchSearchStrategyProvider searchStrategyManager, SearchUtils searchUtils) protected IndexManager
elasticsearchIndexManager
(co.elastic.clients.elasticsearch.ElasticsearchClient client, IndexConfigurationManager indexConfigurationManager, SearchProperties searchProperties, IndexStateRegistry indexStateRegistry, ElasticsearchIndexSettingsProvider indexSettingsProcessor, ElasticsearchIndexConfigurationComparator configurationComparator, ElasticsearchIndexStateResolver indexStateResolver, ElasticsearchPutMappingRequestBuilder putMappingRequestBuilder) protected ElasticsearchSearchStrategyProvider
elasticsearchSearchStrategyProvider
(IndexConfigurationManager indexConfigurationManager, Collection<ElasticsearchSearchStrategy> searchStrategies, SearchProperties applicationProperties)
-
Field Details
-
searchProperties
-
sslConfigurer
-
-
Constructor Details
-
SearchElasticsearchAutoConfiguration
public SearchElasticsearchAutoConfiguration()
-
-
Method Details
-
elasticsearchClient
@Bean("search_ElasticsearchClient") @ConditionalOnMissingBean(co.elastic.clients.elasticsearch.ElasticsearchClient.class) public co.elastic.clients.elasticsearch.ElasticsearchClient elasticsearchClient() -
elasticsearchIndexManager
@Bean("search_ElasticsearchIndexManager") protected IndexManager elasticsearchIndexManager(co.elastic.clients.elasticsearch.ElasticsearchClient client, IndexConfigurationManager indexConfigurationManager, SearchProperties searchProperties, IndexStateRegistry indexStateRegistry, ElasticsearchIndexSettingsProvider indexSettingsProcessor, ElasticsearchIndexConfigurationComparator configurationComparator, ElasticsearchIndexStateResolver indexStateResolver, ElasticsearchPutMappingRequestBuilder putMappingRequestBuilder) -
elasticsearchEntityIndexer
@Bean("search_ElasticsearchEntityIndexer") protected EntityIndexer elasticsearchEntityIndexer(UnconstrainedDataManager dataManager, FetchPlans fetchPlans, IndexConfigurationManager indexConfigurationManager, Metadata metadata, IdSerialization idSerialization, IndexStateRegistry indexStateRegistry, MetadataTools metadataTools, SearchProperties searchProperties, co.elastic.clients.elasticsearch.ElasticsearchClient client) -
elasticsearchEntitySearcher
@Bean("search_ElasticsearchEntitySearcher") protected EntitySearcher elasticsearchEntitySearcher(co.elastic.clients.elasticsearch.ElasticsearchClient client, IndexConfigurationManager indexConfigurationManager, Metadata metadata, MetadataTools metadataTools, DataManager secureDataManager, InstanceNameProvider instanceNameProvider, SearchProperties searchProperties, IdSerialization idSerialization, SecureOperations secureOperations, PolicyStore policyStore, ElasticsearchSearchStrategyProvider searchStrategyManager, SearchUtils searchUtils) -
elasticsearchSearchStrategyProvider
@Bean("search_ElasticsearchSearchStrategyProvider") protected ElasticsearchSearchStrategyProvider elasticsearchSearchStrategyProvider(IndexConfigurationManager indexConfigurationManager, Collection<ElasticsearchSearchStrategy> searchStrategies, SearchProperties applicationProperties) -
createCredentialsProvider
@Nullable protected org.apache.http.client.CredentialsProvider createCredentialsProvider()
-