I'm trying to query an Elasticsearch-wrapped Lucene index with edge ngrams in it, and cannot make sense of the documentation to figure out how to apply boolean operators to it. I have this:
{
"query":{
"bool":{
"should":[
{
"match":{
"name.partial":"+henry +james"
}
}
]
}
}}
That doesn't work (I get results with henry and without james, and vice versa), and neither do \"henry james\", or henry AND james - I get the same things back no matter what. How do I get the behavior I want?