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

Don't use hppc ObjectObjectMap in ParseContext.Document #67250

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

romseygeek
Copy link
Contributor

Noticed this when reviewing #67157, there is no need to use the
HPPC collection here.

@romseygeek romseygeek added :Search Foundations/Mapping Index mappings, including merging and defining field types >refactoring v8.0.0 v7.12.0 labels Jan 11, 2021
@romseygeek romseygeek self-assigned this Jan 11, 2021
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Jan 11, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@romseygeek romseygeek requested a review from javanna January 11, 2021 14:16
Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

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

I had not noticed, good catch.


import com.carrotsearch.hppc.ObjectObjectHashMap;
import com.carrotsearch.hppc.ObjectObjectMap;

Copy link
Member

Choose a reason for hiding this comment

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

haha you seem to have similar problems as me now?

@romseygeek romseygeek merged commit ad772d3 into elastic:master Jan 11, 2021
@romseygeek romseygeek deleted the parse/object-map branch January 11, 2021 15:03
romseygeek added a commit that referenced this pull request Jan 11, 2021
HashMap works perfectly well here, no need to rely on a third-party
implementation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>refactoring :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Meta label for search team v7.12.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants