Skip to content

Make sure to use the resolved type in DocumentMapperService#extractMappings.#37451

Merged
jtibshirani merged 2 commits intoelastic:masterfrom
jtibshirani:mix-typeless-and-typed
Jan 15, 2019
Merged

Make sure to use the resolved type in DocumentMapperService#extractMappings.#37451
jtibshirani merged 2 commits intoelastic:masterfrom
jtibshirani:mix-typeless-and-typed

Conversation

@jtibshirani
Copy link
Copy Markdown
Contributor

  • Pull out a shared method MapperService#resolveDocumentType.
  • Make sure to resolve the type when extracting the mappings.

Addresses #36811.

…ppings.

* Pull out a shared method MapperService#resolveDocumentType.
* Make sure to resolve the type when extracting the mappings.

Addresses elastic#36811.
@jtibshirani jtibshirani added >bug :Search Foundations/Mapping Index mappings, including merging and defining field types v7.0.0 labels Jan 15, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-search

@jtibshirani
Copy link
Copy Markdown
Contributor Author

@jpountz this really didn't turn out as cleanly as I hoped -- feel free to make changes, or open a new PR instead.

@jtibshirani jtibshirani requested a review from jpountz January 15, 2019 06:19
Copy link
Copy Markdown
Contributor

@jpountz jpountz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, I don't have better ideas... Thanks for tackling it!

@jtibshirani
Copy link
Copy Markdown
Contributor Author

jtibshirani commented Jan 15, 2019

Thanks for the review! As a note I filed #37450 to track cleaning up the overall approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Search Foundations/Mapping Index mappings, including merging and defining field types v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants