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
IOExceptionpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOExceptionpublic com.google.common.collect.ImmutableList<String> copyToFields()
public void parse(String field, ParseContext context) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.