public static class AbstractFieldMapper.CopyTo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractFieldMapper.CopyTo.Builder |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<String> |
copyToFields() |
void |
parse(ParseContext context)
Creates instances of the fields that the current field should be copied to
|
void |
parse(String field,
ParseContext context)
Creates an copy of the current field with given field name and boost
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
public void parse(ParseContext context) throws IOException
IOException
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
public com.google.common.collect.ImmutableList<String> copyToFields()
public void parse(String field, ParseContext context) throws IOException
IOException
Copyright © 2009–2015. All rights reserved.