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

Deprecates defaultRescoreWindowSize #13995

Merged
merged 1 commit into from Oct 7, 2015
Merged

Deprecates defaultRescoreWindowSize #13995

merged 1 commit into from Oct 7, 2015

Conversation

colings86
Copy link
Contributor

The window size should be set on each rescorer individually. This method will be removed in 3.0

@colings86 colings86 self-assigned this Oct 7, 2015
@colings86 colings86 changed the title Java API: deprecates defaultRescoreWindowSize Deprecates defaultRescoreWindowSize Oct 7, 2015
@javanna
Copy link
Member

javanna commented Oct 7, 2015

LGTM shouldn't we also document the deprecation on the REST layer?

@colings86
Copy link
Contributor Author

This only seems to be a thing for the Java API and doesn't seem to be something you set on the REST layer. Also, I just noticed that SearchRequestBuilder has a similar method that needs deprecating so will push a that change too

@nik9000
Copy link
Member

nik9000 commented Oct 7, 2015

LGTM. Sorry for the mess.

The window size should be set on each rescorer individually. This method will be removed in 3.0
@colings86 colings86 merged commit eda0c79 into elastic:2.x Oct 7, 2015
@colings86 colings86 deleted the deprecate/defaultRescorerWindowSize branch October 7, 2015 14:36
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.

None yet

4 participants