Skip to content

Conversation

@gmarz
Copy link
Contributor

@gmarz gmarz commented Jun 17, 2014

@Mpdreamz per our discussion on which types should support this- based on the elasticsearch source, it looks like only the string, boolean, and binary types actually parse the copy_to field. Have a look at https://github.com/elasticsearch/elasticsearch/blob/master/src/main/java/org/elasticsearch/index/mapper/core/TypeParsers.java, parseField(...), which looks for copy_to, is only called from StringFieldMapper, BinaryFieldMapper, and BooleanFieldMapper.

Closes #708

Mpdreamz added a commit that referenced this pull request Jun 17, 2014
added copy to field mapping support for appropriate types
@Mpdreamz Mpdreamz merged commit 6ea115c into develop Jun 17, 2014
@Mpdreamz
Copy link
Member

LGTM 👍

@Mpdreamz Mpdreamz deleted the feature/copyto branch June 17, 2014 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants