Skip to content

Commit

Permalink
Simplified Documentation
Browse files Browse the repository at this point in the history
Signed-off-by: GabeFernandez310 <[email protected]>
  • Loading branch information
GabeFernandez310 committed Nov 23, 2022
1 parent 2d672a2 commit ae64863
Showing 1 changed file with 2 additions and 36 deletions.
38 changes: 2 additions & 36 deletions docs/user/dql/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2736,24 +2736,7 @@ MATCHQUERY
Description
>>>>>>>>>>>

``matchquery(field_expression, query_expression[, option=<option_value>]*)``

The matchquery function maps to the match query used in search engine, to return the documents that match a provided text, number, date or boolean value with a given field. This is alternate syntax for the `match`_ function. Available parameters include:

- analyzer
- auto_generate_synonyms_phrase
- fuzziness
- max_expansions
- prefix_length
- fuzzy_transpositions
- fuzzy_rewrite
- lenient
- operator
- minimum_should_match
- zero_terms_query
- boost

For backwards compatibility, matchquery is supported and mapped to the match query.
The matchquery function is a synonym for the `match`_ function.

Example with only ``field`` and ``query`` expressions, and all other parameters are set default values::

Expand Down Expand Up @@ -2782,24 +2765,7 @@ MATCH_QUERY
Description
>>>>>>>>>>>

``match_query(field_expression, query_expression[, option=<option_value>]*)``

The match_query function maps to the match query used in search engine, to return the documents that match_query a provided text, number, date or boolean value with a given field. This is alternate syntax for the `match`_ function. Available parameters include:

- analyzer
- auto_generate_synonyms_phrase
- fuzziness
- max_expansions
- prefix_length
- fuzzy_transpositions
- fuzzy_rewrite
- lenient
- operator
- minimum_should_match
- zero_terms_query
- boost

For backwards compatibility, match_query is supported and mapped to the match query.
The match_query function is a synonym for the `match`_ function.

Example with only ``field`` and ``query`` expressions, and all other parameters are set default values::

Expand Down

0 comments on commit ae64863

Please sign in to comment.