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

pcp2elasticsearch: support dynamic mapping #2117

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

Conversation

pauljevans
Copy link
Collaborator

Elasticsearch 7.X removed the concept of mapping types (initially this was depreciated in Elasticsearch 6.X).

Change over to support dynamic mapping by making use of the updated 'POST {server}/{index}/_doc' index API with auto-generated ids by default.

Users can still use the the search type '-p pcp-metric' command line argument on launch to make use of the original pcp-metric mapping name for environments with Elasticsearch 5.X and 6.X, ('POST {server}/{index}/{search_type}' API).

Note: These older versions are considered EOL by Elastic.

This fix addresses github issue #1998.

Elasticsearch 7.X removed the concept of mapping types (initially this was
depreciated in Elasticsearch 6.X).

Change over to support dynamic mapping by making use of the updated
'POST {server}/{index}/_doc' index API with auto-generated ids by default.

Users can still use the the search type '-p pcp-metric' command line argument
on launch to make use of the original pcp-metric mapping name for environments
with Elasticsearch 5.X and 6.X, ('POST {server}/{index}/{search_type}' API).

Note: These older versions are considered EOL by Elastic.

This fix addresses github issue performancecopilot#1998.
@myllynen
Copy link
Contributor

Thanks! I haven't followed Elasticsearch recently but based on your explanation this certainly makes sense.

However, looking at the CI runs were some of the related QA test cases skipped? Have you checked locally is there any QA impact with this change?

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