Skip to content

Floating weights on function score query / functions #1214

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

Merged
merged 3 commits into from
Jan 23, 2015

Conversation

Mpdreamz
Copy link
Member

fix #1210 fix #1087

Both of the previous PR's submitted a sane way to fix this issue but break backward compatibility.

This PR is a bit of a hack to make sure if you are using the object initializer syntax we don't break your code.

Fluent syntax remains .Weight(long|double)

@gmarz
Copy link
Contributor

gmarz commented Jan 23, 2015

LGTM 👍

Had to fix a few failing unit tests and also added a TODO so we remember to remove this hack in 2.0.

gmarz added a commit that referenced this pull request Jan 23, 2015
Floating weights on function score query / functions
@gmarz gmarz merged commit af0424d into develop Jan 23, 2015
@gmarz gmarz deleted the fix/function-score-weight branch January 23, 2015 16:13
@gmarz gmarz added Bug labels Jan 23, 2015
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