Class ElasticsearchIndexSettingsProvider

java.lang.Object
io.jmix.searchelasticsearch.index.ElasticsearchIndexSettingsProvider

@Component("search_ElasticsearchIndexSettingsProvider") public class ElasticsearchIndexSettingsProvider extends Object
  • Field Details

    • client

      protected final co.elastic.clients.elasticsearch.ElasticsearchClient client
    • customConfigurers

      protected final List<ElasticsearchIndexSettingsConfigurer> customConfigurers
    • systemConfigurers

      protected final List<ElasticsearchIndexSettingsConfigurer> systemConfigurers
    • context

    • effectiveIndexSettings

      protected final Map<Class<?>,co.elastic.clients.elasticsearch.indices.IndexSettings> 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

      protected ElasticsearchIndexSettingsConfigurationContext configureContext()
    • prepareConfigurers

      protected void prepareConfigurers(List<ElasticsearchIndexSettingsConfigurer> configurers)
    • 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)