Subject: | Not clear if / how you can nest either / all in complex searches |
The description of complex queries doesn't say whether you can combine 'either' and 'all'.
I tried what seemed the obvious approach to me:
{ either => [
{ all => [
{ foo => '...' },
{ bar => '...' }, ]
},
{ all => {
...
}
}
Seems like it's not supported, in which case the doc should make that clear.
Cheers,
Neil