java.lang.Object
org.hibernate.search.backend.elasticsearch.lowlevel.index.mapping.impl.AbstractTypeMapping
org.hibernate.search.backend.elasticsearch.lowlevel.index.mapping.impl.PropertyMapping

public class PropertyMapping extends AbstractTypeMapping
An object representing Elasticsearch property mappings, i.e. the mappings of properties inside a type mapping. See https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html#mapping-type
  • Constructor Details

    • PropertyMapping

      public PropertyMapping()
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getFormat

      public List<String> getFormat()
    • setFormat

      public void setFormat(List<String> format)
    • getIndex

      public Boolean getIndex()
    • setIndex

      public void setIndex(Boolean index)
    • getNorms

      public Boolean getNorms()
    • setNorms

      public void setNorms(Boolean norms)
    • getDocValues

      public Boolean getDocValues()
    • setDocValues

      public void setDocValues(Boolean docValues)
    • getNullValue

      public com.google.gson.JsonElement getNullValue()
    • setNullValue

      public void setNullValue(com.google.gson.JsonElement nullValue)
    • getAnalyzer

      public String getAnalyzer()
    • setAnalyzer

      public void setAnalyzer(String analyzer)
    • getSearchAnalyzer

      public String getSearchAnalyzer()
    • setSearchAnalyzer

      public void setSearchAnalyzer(String searchAnalyzer)
    • getNormalizer

      public String getNormalizer()
    • setNormalizer

      public void setNormalizer(String normalizer)
    • getScalingFactor

      public Double getScalingFactor()
    • setScalingFactor

      public void setScalingFactor(Double scalingFactor)
    • getTermVector

      public String getTermVector()
    • setTermVector

      public void setTermVector(String termVector)
    • getElementType

      public String getElementType()
    • setElementType

      public void setElementType(String elementType)
    • getDims

      public Integer getDims()
    • setDims

      public void setDims(Integer dims)
    • getSimilarity

      public String getSimilarity()
    • setSimilarity

      public void setSimilarity(String similarity)
    • getIndexOptions

      public ElasticsearchDenseVectorIndexOptions getIndexOptions()
    • setIndexOptions

      public void setIndexOptions(ElasticsearchDenseVectorIndexOptions indexOptions)
    • getDimension

      public Integer getDimension()
    • setDimension

      public void setDimension(Integer dimension)
    • getMethod

      public OpenSearchVectorTypeMethod getMethod()
    • setMethod

      public void setMethod(OpenSearchVectorTypeMethod method)
    • getDataType

      public String getDataType()
    • setDataType

      public void setDataType(String dataType)