Browse Source

Update full-text-queries.asciidoc

Updated the full text query intro to add `match_phrase` and `match_phrase_prefix`
Clinton Gormley 9 years ago
parent
commit
02cf429e53
1 changed files with 8 additions and 0 deletions
  1. 8 0
      docs/reference/query-dsl/full-text-queries.asciidoc

+ 8 - 0
docs/reference/query-dsl/full-text-queries.asciidoc

@@ -13,6 +13,14 @@ The queries in this group are:
     The standard query for performing full text queries, including fuzzy matching
     and phrase or proximity queries.
 
+<<query-dsl-match-query-phrase,`match_phrase` query>>::
+
+    Like the `match` query but used for matching exact phrases or word proximity matches.
+    
+<<query-dsl-match-query-phrase-prefix,`match_phrase_prefix` query>>::
+
+    The poor man's _search-as-you-type_.  Like the `match_phrase` query, but does a wildcard search on the final word.
+    
 <<query-dsl-multi-match-query,`multi_match` query>>::
 
     The multi-field version of the `match` query.