qstr.asciidoc 2.7 KB

1234567891011121314151617181920212223242526272829
  1. // This is generated by ESQL's AbstractFunctionTestCase. Do no edit it. See ../README.md for how to regenerate it.
  2. *Supported function named parameters*
  3. [%header.monospaced.styled,format=dsv,separator=|]
  4. |===
  5. name | types | description
  6. max_determinized_states | [integer] | Maximum number of automaton states required for the query. Default is 10000.
  7. fuzziness | [keyword] | Maximum edit distance allowed for matching.
  8. auto_generate_synonyms_phrase_query | [boolean] | If true, match phrase queries are automatically created for multi-term synonyms. Defaults to true.
  9. phrase_slop | [integer] | Maximum number of positions allowed between matching tokens for phrases. Defaults to 0 (which means exact matches are required).
  10. default_field | [keyword] | Default field to search if no field is provided in the query string. Supports wildcards (*).
  11. allow_leading_wildcard | [boolean] | If true, the wildcard characters * and ? are allowed as the first character of the query string. Defaults to true.
  12. minimum_should_match | [string] | Minimum number of clauses that must match for a document to be returned.
  13. fuzzy_transpositions | [boolean] | If true, edits for fuzzy matching include transpositions of two adjacent characters (ab → ba). Defaults to true.
  14. fuzzy_prefix_length | [integer] | Number of beginning characters left unchanged for fuzzy matching. Defaults to 0.
  15. time_zone | [keyword] | Coordinated Universal Time (UTC) offset or IANA time zone used to convert date values in the query string to UTC.
  16. lenient | [boolean] | If false, format-based errors, such as providing a text query value for a numeric field, are returned. Defaults to false.
  17. rewrite | [keyword] | Method used to rewrite the query.
  18. default_operator | [keyword] | Default boolean logic used to interpret text in the query string if no operators are specified.
  19. analyzer | [keyword] | Analyzer used to convert the text in the query value into token. Defaults to the index-time analyzer mapped for the default_field.
  20. fuzzy_max_expansions | [integer] | Maximum number of terms to which the query expands for fuzzy matching. Defaults to 50.
  21. quote_analyzer | [keyword] | Analyzer used to convert quoted text in the query string into tokens. Defaults to the search_quote_analyzer mapped for the default_field.
  22. allow_wildcard | [boolean] | If true, the query attempts to analyze wildcard terms in the query string. Defaults to false.
  23. boost | [float] | Floating point number used to decrease or increase the relevance scores of the query.
  24. quote_field_suffix | [keyword] | Suffix appended to quoted text in the query string.
  25. enable_position_increments | [boolean] | If true, enable position increments in queries constructed from a query_string search. Defaults to true.
  26. fields | [keyword] | Array of fields to search. Supports wildcards (*).
  27. |===