Package io.jmix.search.index.mapping
Class FieldConfiguration
java.lang.Object
io.jmix.search.index.mapping.FieldConfiguration
Contains configuration of index field.
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.node.ObjectNode
-
Constructor Summary
ModifierConstructorDescriptionprotected
FieldConfiguration
(com.fasterxml.jackson.databind.node.ObjectNode config) protected
FieldConfiguration
(com.fasterxml.jackson.databind.node.ObjectNode config, List<String> virtualFields) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.node.ObjectNode
asJson()
Provides field configuration as native json.static FieldConfiguration
create
(com.fasterxml.jackson.databind.node.ObjectNode config) Provides inner "virtual" fields within current field.
-
Field Details
-
config
protected com.fasterxml.jackson.databind.node.ObjectNode config -
virtualFields
-
-
Constructor Details
-
FieldConfiguration
protected FieldConfiguration(com.fasterxml.jackson.databind.node.ObjectNode config) -
FieldConfiguration
-
-
Method Details
-
asJson
public com.fasterxml.jackson.databind.node.ObjectNode asJson()Provides field configuration as native json.- Returns:
- json with field configuration
-
getVirtualFields
Provides inner "virtual" fields within current field.- Returns:
- list of fields names
-
create
-