elastic / elastic/elasticsearch-dsl-ruby

Nested bool filters not supported?

Open
#8 5 comments 7 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
18
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Example input and output below. Am I missing something here?

```ruby
search do
query do
bool do
filter do
bool do
should do
match something: "something"
end
should do
match something_else: "something"
end
minimum_should_match 1
end
end
end
end
end.to_hash
```

```ruby
{:query=>
{:bool=>
{:filter=>
[
{:bool=>{:should=>[{}]}}]
}}}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.