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

Query DSL: Add filter clauses to bool queries. #11142

Merged
merged 1 commit into from
May 13, 2015

Commits on May 13, 2015

  1. Query DSL: Add filter clauses to bool queries.

    These clauses filter the document space without affecting scoring and map to
    Lucene's BooleanClause.Occur.FILTER. The `filtered` query is now deprecated and
    
    ```json
    {
      "filtered": {
        "query": { //query },
        "filter": { //filter }
      }
    }
    ```
    should be replaced with
    ```json
    {
      "bool": {
        "must": { //query },
        "filter": { //filter }
      }
    }
    ```
    jpountz committed May 13, 2015
    Configuration menu
    Copy the full SHA
    6307579 View commit details
    Browse the repository at this point in the history