full-text-queries.asciidoc 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. Like the `match_phrase` query, but does a wildcard search on the final word.
  14. <<query-dsl-match-bool-prefix-query,`match_bool_prefix` query>>::
  15. Creates a `bool` query that matches each term as a `term` query, except for
  16. the last term, which is matched as a `prefix` query
  17. <<query-dsl-multi-match-query,`multi_match` query>>::
  18. The multi-field version of the `match` query.
  19. <<query-dsl-query-string-query,`query_string` query>>::
  20. Supports the compact Lucene <<query-string-syntax,query string syntax>>,
  21. allowing you to specify AND|OR|NOT conditions and multi-field search
  22. within a single query string. For expert users only.
  23. <<query-dsl-simple-query-string-query,`simple_query_string` query>>::
  24. A simpler, more robust version of the `query_string` syntax suitable
  25. for exposing directly to users.
  26. <<query-dsl-intervals-query,`intervals` query>>::
  27. A full text query that allows fine-grained control of the ordering and
  28. proximity of matching terms
  29. include::match-query.asciidoc[]
  30. include::match-phrase-query.asciidoc[]
  31. include::match-phrase-prefix-query.asciidoc[]
  32. include::match-bool-prefix-query.asciidoc[]
  33. include::multi-match-query.asciidoc[]
  34. include::query-string-query.asciidoc[]
  35. include::simple-query-string-query.asciidoc[]
  36. include::intervals-query.asciidoc[]