elastic / elastic/elasticsearch-dsl-ruby
Nested bool filters not supported?
Open
- 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
Assessment
This issue has not been assessed yet.