Example input and output below. Am I missing something here?
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
{:query=>
{:bool=>
{:filter=>
[
{:bool=>{:should=>[{}]}}]
}}}
Example input and output below. Am I missing something here?