Skip to content
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

Cleanup field name handling #11272

Merged
merged 1 commit into from May 21, 2015
Merged

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented May 21, 2015

This clarifies some of the uses of names, so that the ambiguous
"name" is mostly no longer used (does this include path or not?).
sourcePath is also removed as it was not used. Not all the
uses of .name() have been cleaned up because Mapper still has
this, and ObjectMapper depends on it returning the short name,
but I would like to leave finishing that cleanup for a future issue.

This clarifies some of the uses of names, so that the ambiguous
"name" is mostly no longer used (does this include path or not?).
sourcePath is also removed as it was not used. Not all the
uses of .name() have been cleaned up because Mapper still has
this, and ObjectMapper depends on it returning the short name,
but I would like to leave finishing that cleanup for a future issue.
@rjernst rjernst added v2.0.0-beta1 :Search/Mapping Index mappings, including merging and defining field types labels May 21, 2015
@jpountz
Copy link
Contributor

jpountz commented May 21, 2015

LGTM. I like how this renaming made it immediately obvious that we were wrongly using the short name instead of full name in some places.

rjernst added a commit that referenced this pull request May 21, 2015
@rjernst rjernst merged commit ea3c5d5 into elastic:master May 21, 2015
@rjernst rjernst deleted the refactor/mapper-names branch May 21, 2015 07:36
@clintongormley clintongormley changed the title Mappings: Cleanup names handling Cleanup field name handling Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Mapping Index mappings, including merging and defining field types v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants