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

POC: Improve field efficiency of dynamic meta mapping #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mboynes
Copy link
Contributor

@mboynes mboynes commented Jan 26, 2021

This changes the meta dynamic mapping to only map the fields that are present when an object is indexed.

I'm not sure if it's necessary that we bump the mapping version. Ideally, we wouldn't, otherwise sites will be asked to reindex.

@mboynes mboynes requested a review from kevinfodness January 26, 2021 15:53
Copy link
Member

@kevinfodness kevinfodness left a comment

Choose a reason for hiding this comment

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

This change causes a unit test failure for me locally in a different project, but I haven't yet figured out why. The v0.4 tag works fine. I'll keep digging and get back to you.

@kevinfodness
Copy link
Member

Disregard my previous comment - I was having an issue with phpunit that was unrelated to this change.

Copy link
Member

@kevinfodness kevinfodness left a comment

Choose a reason for hiding this comment

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

🍣

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