full-text-queries.asciidoc 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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-match-query,`match` query>>::
  8. The standard query for performing full text queries, including fuzzy matching
  9. and phrase or proximity queries.
  10. <<query-dsl-match-query-phrase,`match_phrase` query>>::
  11. Like the `match` query but used for matching exact phrases or word proximity matches.
  12. <<query-dsl-match-query-phrase-prefix,`match_phrase_prefix` query>>::
  13. The poor man's _search-as-you-type_. Like the `match_phrase` query, but does a wildcard search on the final word.
  14. <<query-dsl-multi-match-query,`multi_match` query>>::
  15. The multi-field version of the `match` query.
  16. <<query-dsl-common-terms-query,`common` terms query>>::
  17. A more specialized query which gives more preference to uncommon words.
  18. <<query-dsl-query-string-query,`query_string` query>>::
  19. Supports the compact Lucene <<query-string-syntax,query string syntax>>,
  20. allowing you to specify AND|OR|NOT conditions and multi-field search
  21. within a single query string. For expert users only.
  22. <<query-dsl-simple-query-string-query,`simple_query_string` query>>::
  23. A simpler, more robust version of the `query_string` syntax suitable
  24. for exposing directly to users.
  25. <<query-dsl-intervals-query,`intervals` query>>::
  26. A full text query that allows fine-grained control of the ordering and
  27. proximity of matching terms
  28. include::match-query.asciidoc[]
  29. include::match-phrase-query.asciidoc[]
  30. include::match-phrase-prefix-query.asciidoc[]
  31. include::multi-match-query.asciidoc[]
  32. include::common-terms-query.asciidoc[]
  33. include::query-string-query.asciidoc[]
  34. include::simple-query-string-query.asciidoc[]
  35. include::intervals-query.asciidoc[]