Skip to content

added copy to field mapping support for appropriate types #720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 17, 2014

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.

2 participants