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 Builder] Correctly handle match phrases when a single value is specified or when the match phrases is negated #33

Merged

Commits on May 5, 2021

  1. [Build query] Correctly handle phrases filter that specify only one s…

    …ingle value
    
    Contrary to the phrase filter type which always specify a meta.params.query, the phrases filter type never specify a meta.params.query even when a single value is selected.
    This anomaly trigger an error generated by the MonoFieldQueryBase included in the elastic-builder dependency and prevent the generation of the report.
    
    Signed-off-by: Kévin Masseix <masseix.kevin@gmail.com>
    MKCG committed May 5, 2021
    Configuration menu
    Copy the full SHA
    a8b3bcb View commit details
    Browse the repository at this point in the history
  2. [Build query] Correctly handle negated phrases filter that specify on…

    …ly one single value
    
    Signed-off-by: Kévin Masseix <masseix.kevin@gmail.com>
    MKCG committed May 5, 2021
    Configuration menu
    Copy the full SHA
    e2b8c61 View commit details
    Browse the repository at this point in the history
  3. [Build query] Correctlty handle negated phrases to exclude them from …

    …the report instead of including them
    
    Signed-off-by: Kévin Masseix <masseix.kevin@gmail.com>
    MKCG committed May 5, 2021
    Configuration menu
    Copy the full SHA
    c506e72 View commit details
    Browse the repository at this point in the history