Class FieldConfiguration

java.lang.Object
io.jmix.search.index.mapping.FieldConfiguration

public class FieldConfiguration extends Object
Contains configuration of index field.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.fasterxml.jackson.databind.node.ObjectNode
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    FieldConfiguration(com.fasterxml.jackson.databind.node.ObjectNode config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.node.ObjectNode
    Provides field configuration as Elasticsearch-native json.
    create(com.fasterxml.jackson.databind.node.ObjectNode config)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static FieldConfiguration create(com.fasterxml.jackson.databind.node.ObjectNode config)