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

Improve error message for ln/log with negative results in function score #41609

Merged
merged 2 commits into from
May 2, 2019

Conversation

jdconrad
Copy link
Contributor

This changes the error message for a negative result in a function score when using the ln modifier to suggest using ln1p or ln2p when a negative result occurs in a function score and for the log modifier to suggest using log1p or log2p.

This relates to #41509

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

@jdconrad
Copy link
Contributor Author

jdconrad commented May 2, 2019

@jimczi Thanks for the review! Will commit as soon as CI passes.

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

Successfully merging this pull request may close these issues.

4 participants