I would like to match multiple of exact phrases, is it possible?

I would like to search in one field "myfield" for exact phrases: "My exact 
phrase 1" & "My exact phrase 2"

//This is code for one phrase match, how to combine with the other?
 "query": {
        "match_phrase": {
            "myfield": "My exact phrase 1"     
             }
    }

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/50032da6-bb6b-4e47-8ade-0e2d0d3315c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to