Class ElasticsearchIndexSettingsProvider
java.lang.Object
io.jmix.searchelasticsearch.index.ElasticsearchIndexSettingsProvider
@Component("search_ElasticsearchIndexSettingsProvider")
public class ElasticsearchIndexSettingsProvider
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected final co.elastic.clients.elasticsearch.ElasticsearchClient
protected final co.elastic.clients.elasticsearch.indices.IndexSettingsAnalysis
protected final co.elastic.clients.elasticsearch.indices.IndexSettings
protected final ElasticsearchIndexSettingsConfigurationContext
protected final List<ElasticsearchIndexSettingsConfigurer>
protected final com.fasterxml.jackson.databind.ObjectMapper
protected final List<ElasticsearchIndexSettingsConfigurer>
-
Constructor Summary
ConstructorDescriptionElasticsearchIndexSettingsProvider
(List<ElasticsearchIndexSettingsConfigurer> configurers, co.elastic.clients.elasticsearch.ElasticsearchClient client) -
Method Summary
Modifier and TypeMethodDescriptionco.elastic.clients.elasticsearch.indices.IndexSettings
getSettingsForIndex
(IndexConfiguration indexConfiguration) protected void
prepareConfigurers
(List<ElasticsearchIndexSettingsConfigurer> configurers) protected com.fasterxml.jackson.databind.JsonNode
toJsonNode
(co.elastic.clients.json.JsonpSerializable object) protected com.fasterxml.jackson.databind.node.ObjectNode
toObjectNode
(co.elastic.clients.json.JsonpSerializable object)
-
Field Details
-
client
protected final co.elastic.clients.elasticsearch.ElasticsearchClient client -
customConfigurers
-
systemConfigurers
-
context
-
effectiveIndexSettings
-
commonIndexSettings
protected final co.elastic.clients.elasticsearch.indices.IndexSettings commonIndexSettings -
commonAnalysisSettings
protected final co.elastic.clients.elasticsearch.indices.IndexSettingsAnalysis commonAnalysisSettings -
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
ElasticsearchIndexSettingsProvider
@Autowired public ElasticsearchIndexSettingsProvider(List<ElasticsearchIndexSettingsConfigurer> configurers, co.elastic.clients.elasticsearch.ElasticsearchClient client)
-
-
Method Details
-
getSettingsForIndex
public co.elastic.clients.elasticsearch.indices.IndexSettings getSettingsForIndex(IndexConfiguration indexConfiguration) -
configureContext
-
prepareConfigurers
-
toJsonNode
protected com.fasterxml.jackson.databind.JsonNode toJsonNode(co.elastic.clients.json.JsonpSerializable object) -
toObjectNode
protected com.fasterxml.jackson.databind.node.ObjectNode toObjectNode(co.elastic.clients.json.JsonpSerializable object)
-