Class OpenSearchIndexSettingsProvider

java.lang.Object
io.jmix.searchopensearch.index.OpenSearchIndexSettingsProvider

@Component("search_OpenSearchIndexSettingsProvider") public class OpenSearchIndexSettingsProvider extends Object
  • Field Details

    • client

      protected final org.opensearch.client.opensearch.OpenSearchClient client
    • customConfigurers

      protected final List<OpenSearchIndexSettingsConfigurer> customConfigurers
    • systemConfigurers

      protected final List<OpenSearchIndexSettingsConfigurer> systemConfigurers
    • context

    • effectiveIndexSettings

      protected final Map<Class<?>,org.opensearch.client.opensearch.indices.IndexSettings> effectiveIndexSettings
    • commonIndexSettings

      protected final org.opensearch.client.opensearch.indices.IndexSettings commonIndexSettings
    • commonAnalysisSettings

      protected final org.opensearch.client.opensearch.indices.IndexSettingsAnalysis commonAnalysisSettings
    • objectMapper

      protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
  • Constructor Details

    • OpenSearchIndexSettingsProvider

      @Autowired public OpenSearchIndexSettingsProvider(List<OpenSearchIndexSettingsConfigurer> configurers, org.opensearch.client.opensearch.OpenSearchClient client)
  • Method Details

    • getSettingsForIndex

      public org.opensearch.client.opensearch.indices.IndexSettings getSettingsForIndex(IndexConfiguration indexConfiguration)
    • configureContext

      protected OpenSearchIndexSettingsConfigurationContext configureContext()
    • prepareConfigurers

      protected void prepareConfigurers(List<OpenSearchIndexSettingsConfigurer> configurers)
    • toJsonNode

      protected com.fasterxml.jackson.databind.JsonNode toJsonNode(org.opensearch.client.json.JsonpSerializable object)
    • toObjectNode

      protected com.fasterxml.jackson.databind.node.ObjectNode toObjectNode(org.opensearch.client.json.JsonpSerializable object)