Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Query Builder] Correctly handle match phrases when a single value is…
… specified or when the match phrases is negated (#33) * [Build query] Correctly handle phrases filter that specify only one single 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> * [Build query] Correctly handle negated phrases filter that specify only one single value Signed-off-by: Kévin Masseix <masseix.kevin@gmail.com> * [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>
- Loading branch information