Class 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 Detail

      • PropertyMapping

        public PropertyMapping()
    • Method Detail

      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • 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)