| 1234567891011121314151617181920212223242526272829303132333435363738394041 | [[query-dsl-match-query-phrase]]=== Match Phrase QueryThe `match_phrase` query analyzes the text and creates a `phrase` queryout of the analyzed text. For example:[source,js]--------------------------------------------------GET /_search{    "query": {        "match_phrase" : {            "message" : "this is a test"        }    }}--------------------------------------------------// CONSOLEA phrase query matches terms up to a configurable `slop`(which defaults to 0) in any order. Transposed terms have a slop of 2.The `analyzer` can be set to control which analyzer will perform theanalysis process on the text. It defaults to the field explicit mappingdefinition, or the default search analyzer, for example:[source,js]--------------------------------------------------GET /_search{    "query": {        "match_phrase" : {            "message" : {                "query" : "this is a test",                "analyzer" : "my_analyzer"            }        }    }}--------------------------------------------------// CONSOLE
 |