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

Docs : Filtering based on exact values not working #7807

Closed
bastiendonjon opened this issue Sep 20, 2014 · 3 comments
Closed

Docs : Filtering based on exact values not working #7807

bastiendonjon opened this issue Sep 20, 2014 · 3 comments
Assignees

Comments

@bastiendonjon
Copy link

If I try to do that, as a doc, I have a parsing error.

{
   "aggs" : {
       "tags" : {
            "terms" : {
                "field" : "make",
                "exclude" : ["mazda", "honda"]
            }
        }
    }
}

Errors exemple :

Parse Failure [Unknown key for a START_ARRAY in [dedup]: [exclude].]];

If I want it to work I have to do use a regular expression :

{
   "aggs" : {
       "tags" : {
            "terms" : {
                "field" : "tags",
                "exclude" : "mazda|honda"
            }
        }
    }
}
@colings86
Copy link
Contributor

@bastiendonjon thanks for raising the bug. This is actually a documentation issue, as this feature is available in an upcoming release and should have a note in the documentation stating the version it will become available in. Sorry for any confusion caused, we will get the documentation updated

@bastiendonjon
Copy link
Author

Ok :-)

@markharwood
Copy link
Contributor

Added note to documentation that this is a forthcoming feature

@clintongormley clintongormley changed the title Aggs : Filtering based on exact values not working Docs : Filtering based on exact values not working Sep 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants