Class FieldMapper.CopyTo

java.lang.Object
org.elasticsearch.index.mapper.FieldMapper.CopyTo
Enclosing class:
FieldMapper

public static class FieldMapper.CopyTo
extends java.lang.Object
Represents a list of fields with optional boost factor where the current field should be copied to
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  FieldMapper.CopyTo.Builder  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.lang.String> copyToFields()  
    static FieldMapper.CopyTo empty()  
    org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • empty

      public static FieldMapper.CopyTo empty()
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Throws:
      java.io.IOException
    • copyToFields

      public java.util.List<java.lang.String> copyToFields()