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

Remove mapper listeners #11045

Merged
merged 1 commit into from May 7, 2015
Merged

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented May 7, 2015

The mapper listener concept is only now used as a callback to the
MapperService when new fields are added. This change removes the
listeners, instead storing a link to the mapper service in
each doc mapper.

There is also a small refactoring of MergeResult to eliminate a nested callback to the doc mapper.

The mapper listener concept is only now used as a callback to the
MapperService when new fields are added. This change removes the
listeners, instead storing a link to the mapper service in
each doc mapper.
@rjernst rjernst added v2.0.0-beta1 :Search/Mapping Index mappings, including merging and defining field types labels May 7, 2015
@jpountz
Copy link
Contributor

jpountz commented May 7, 2015

LGTM

@rjernst rjernst merged commit 6dd8434 into elastic:master May 7, 2015
@rjernst rjernst deleted the pr/remove-mapper-listener branch May 7, 2015 17:43
@clintongormley clintongormley changed the title Mappings: Remove mapper listeners Remove mapper listeners Jun 8, 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