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

Fix AnalyzeAPI with 'explain' parameter #1254

Merged
merged 1 commit into from
Feb 21, 2017
Merged

Fix AnalyzeAPI with 'explain' parameter #1254

merged 1 commit into from
Feb 21, 2017

Conversation

thePanz
Copy link
Collaborator

@thePanz thePanz commented Feb 20, 2017

The ElasticSearch AnalyzeAPI has an "explain" parameter to gather further details about the performed analysis on a text content.
Unfortunately the ElasticSearch response is different when such parameter is set or not set.
See https://www.elastic.co/guide/en/elasticsearch/reference/5.2/_explain_analyze.html
and https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html.

The format "explain = true" is consistent in the 5.x major release.

@Tobion
Copy link
Collaborator

Tobion commented Feb 20, 2017

👍 would be nice if you could add a note to the changelog file

@thePanz
Copy link
Collaborator Author

thePanz commented Feb 21, 2017

@Tobion : Changelog added

CHANGELOG.md Outdated
@@ -11,6 +11,8 @@ All notable changes to this project will be documented in this file based on the

### Improvements

- added support for the "explain" flag of AnalyzeAPI
Copy link
Owner

Choose a reason for hiding this comment

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

@thePanz Could you also add the PR number behind it? We missed it in the recent changelog entries but I want to add it again as it makes reading changelogs easier as you can jump to the PR directly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@ruflin PR number and link added. Does it work OK for you?

@ruflin
Copy link
Owner

ruflin commented Feb 21, 2017

@thePanz LGTM. Thanks

@ruflin ruflin merged commit 81b48a6 into ruflin:master Feb 21, 2017
@thePanz thePanz deleted the fix-analyze-api-explain branch February 21, 2017 15:03
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.

3 participants