Skip to content

Add support for condition token filter #3523

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 25, 2019
Merged

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Dec 18, 2018

@Mpdreamz Mpdreamz changed the title Add support for condition token filter elastic/elasticseach#31958 Add support for condition token filter elastic/elasticsearch#31958 Dec 18, 2018
@Mpdreamz Mpdreamz changed the title Add support for condition token filter elastic/elasticsearch#31958 Add support for condition token filter Dec 18, 2018
@Mpdreamz Mpdreamz force-pushed the v65/condition-token-filter branch from 7595ff3 to 71a07a5 Compare January 2, 2019 11:53
@codebrain
Copy link
Contributor

@Mpdreamz - Looks like serialisation is falling over?

@Mpdreamz Mpdreamz force-pushed the v65/condition-token-filter branch from 71a07a5 to 19cb079 Compare January 24, 2019 13:51
Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

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

LGTM. Left small comment about "filter"

public IScript Script { get; set; }

/// <inheritdoc cref="IConditionTokenFilter.Filters" />
public IEnumerable<string> Filters { get; set; }
Copy link
Contributor

Choose a reason for hiding this comment

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

can this be a single filter or enumerable of filters?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, this does not allow inline token filter declarations only references.

I've only seen it being documented as an array of string.

@Mpdreamz Mpdreamz merged commit 1e157ef into 6.5 Jan 25, 2019
@Mpdreamz Mpdreamz deleted the v65/condition-token-filter branch January 25, 2019 10:26
Mpdreamz added a commit that referenced this pull request Jan 25, 2019
* Add support for condition token filter elastic/elasticseach#31958

* fix failing unit tests

* fix failing unit tests
Mpdreamz added a commit that referenced this pull request Jan 25, 2019
* Add support for condition token filter elastic/elasticseach#31958

* fix failing unit tests

* fix failing unit tests
Mpdreamz added a commit that referenced this pull request Jan 28, 2019
* Add support for condition token filter elastic/elasticseach#31958

* fix failing unit tests

* fix failing unit tests

(cherry picked from commit a002b40)
Mpdreamz added a commit that referenced this pull request Mar 29, 2019
* Add support for condition token filter elastic/elasticseach#31958

* fix failing unit tests

* fix failing unit tests

(cherry picked from commit a002b40)
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.

3 participants