Package io.jmix.searchopensearch.index
Class OpenSearchIndexSettingsProvider
java.lang.Object
io.jmix.searchopensearch.index.OpenSearchIndexSettingsProvider
@Component("search_OpenSearchIndexSettingsProvider")
public class OpenSearchIndexSettingsProvider
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.opensearch.client.opensearch.OpenSearchClient
protected final org.opensearch.client.opensearch.indices.IndexSettingsAnalysis
protected final org.opensearch.client.opensearch.indices.IndexSettings
protected final OpenSearchIndexSettingsConfigurationContext
protected final List<OpenSearchIndexSettingsConfigurer>
protected final com.fasterxml.jackson.databind.ObjectMapper
protected final List<OpenSearchIndexSettingsConfigurer>
-
Constructor Summary
ConstructorDescriptionOpenSearchIndexSettingsProvider
(List<OpenSearchIndexSettingsConfigurer> configurers, org.opensearch.client.opensearch.OpenSearchClient client) -
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.client.opensearch.indices.IndexSettings
getSettingsForIndex
(IndexConfiguration indexConfiguration) protected void
prepareConfigurers
(List<OpenSearchIndexSettingsConfigurer> configurers) protected com.fasterxml.jackson.databind.JsonNode
toJsonNode
(org.opensearch.client.json.JsonpSerializable object) protected com.fasterxml.jackson.databind.node.ObjectNode
toObjectNode
(org.opensearch.client.json.JsonpSerializable object)
-
Field Details
-
client
protected final org.opensearch.client.opensearch.OpenSearchClient client -
customConfigurers
-
systemConfigurers
-
context
-
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
-
prepareConfigurers
-
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)
-