Navigation Menu

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

SearchRequest - Map extraSource exception uses source field accidently #8117

Closed
pickypg opened this issue Oct 16, 2014 · 0 comments · Fixed by #8118
Closed

SearchRequest - Map extraSource exception uses source field accidently #8117

pickypg opened this issue Oct 16, 2014 · 0 comments · Fixed by #8118

Comments

@pickypg
Copy link
Member

pickypg commented Oct 16, 2014

This is incredibly minor, and it really only helps with client debug that is unlikely to be needed. The method with the signature:

public SearchRequest extraSource(Map extraSource)

Includes the re-thrown exception:

throw new ElasticsearchGenerationException("Failed to generate [" + source + "]", e);

where source is the internal field due to copy/paste.

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

Successfully merging a pull request may close this issue.

1 participant