full-text-queries.asciidoc 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [[full-text-queries]]
  2. == Full text queries
  3. The full text queries enable you to search <<analysis,analyzed text fields>> such as the
  4. body of an email. The query string is processed using the same analyzer that was applied to
  5. the field during indexing.
  6. The queries in this group are:
  7. <<query-dsl-intervals-query,`intervals` query>>::
  8. A full text query that allows fine-grained control of the ordering and
  9. proximity of matching terms.
  10. <<query-dsl-match-query,`match` query>>::
  11. The standard query for performing full text queries, including fuzzy matching
  12. and phrase or proximity queries.
  13. <<query-dsl-match-bool-prefix-query,`match_bool_prefix` query>>::
  14. Creates a `bool` query that matches each term as a `term` query, except for
  15. the last term, which is matched as a `prefix` query
  16. <<query-dsl-match-query-phrase,`match_phrase` query>>::
  17. Like the `match` query but used for matching exact phrases or word proximity matches.
  18. <<query-dsl-match-query-phrase-prefix,`match_phrase_prefix` query>>::
  19. Like the `match_phrase` query, but does a wildcard search on the final word.
  20. <<query-dsl-multi-match-query,`multi_match` query>>::
  21. The multi-field version of the `match` query.
  22. <<query-dsl-query-string-query,`query_string` query>>::
  23. Supports the compact Lucene <<query-string-syntax,query string syntax>>,
  24. allowing you to specify AND|OR|NOT conditions and multi-field search
  25. within a single query string. For expert users only.
  26. <<query-dsl-simple-query-string-query,`simple_query_string` query>>::
  27. A simpler, more robust version of the `query_string` syntax suitable
  28. for exposing directly to users.
  29. include::intervals-query.asciidoc[]
  30. include::match-query.asciidoc[]
  31. include::match-bool-prefix-query.asciidoc[]
  32. include::match-phrase-query.asciidoc[]
  33. include::match-phrase-prefix-query.asciidoc[]
  34. include::multi-match-query.asciidoc[]
  35. include::query-string-query.asciidoc[]
  36. include::simple-query-string-query.asciidoc[]