Package org.elasticsearch.index.mapper
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()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
-
-
Method Detail
-
empty
public static FieldMapper.CopyTo empty()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Throws:
java.io.IOException
-
copyToFields
public java.util.List<java.lang.String> copyToFields()
-
-