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

Replaced exclude with include to avoid double negation #6275

Closed
wants to merge 2 commits into from

Conversation

alexksikes
Copy link
Contributor

...negation when set.

'exclude' is now marked as deprecated.

Closes #6248

…le negation when set.

'exclude' is now marked as deprecated.

Closes elastic#6248
this.include = include;
return this;
}

public MoreLikeThisQueryBuilder exclude(boolean exclude) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add an @Deprecated and point the the include method?

@jpountz
Copy link
Contributor

jpountz commented May 22, 2014

LGTM

alexksikes added a commit that referenced this pull request May 23, 2014
…le negation when set.

'exclude' is now marked as deprecated.

Closes #6275
@alexksikes alexksikes removed the review label May 27, 2014
@alexksikes alexksikes closed this May 27, 2014
@clintongormley clintongormley changed the title More Like This Query: replaced 'exclude' with 'include' to avoid double ... Replaced 'exclude' with 'include' to avoid double negation Jun 7, 2015
@clintongormley clintongormley changed the title Replaced 'exclude' with 'include' to avoid double negation Replaced exclude with include to avoid double negation Jun 7, 2015
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :More Like This labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories v1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants