Package io.jmix.search.index.mapping
Class FieldConfiguration
java.lang.Object
io.jmix.search.index.mapping.FieldConfiguration
Contains configuration of index field.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
FieldConfiguration
(com.fasterxml.jackson.databind.node.ObjectNode config) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNode
asJson()
Provides field configuration as Elasticsearch-native json.static FieldConfiguration
create
(com.fasterxml.jackson.databind.node.ObjectNode config)
-
Field Details
-
config
protected com.fasterxml.jackson.databind.node.ObjectNode config
-
-
Constructor Details
-
FieldConfiguration
protected FieldConfiguration(com.fasterxml.jackson.databind.node.ObjectNode config)
-
-
Method Details
-
asJson
public com.fasterxml.jackson.databind.node.ObjectNode asJson()Provides field configuration as Elasticsearch-native json.- Returns:
- json with field configuration
-
create
-