|
16 | 16 | 'match': { |
17 | 17 | 'field': True, |
18 | 18 | 'args': ('query',), |
19 | | - 'kwargs': ('operator', 'zero_terms_query', 'cutoff_frequency', 'boost') |
| 19 | + 'kwargs': ( |
| 20 | + 'operator', 'zero_terms_query', 'cutoff_frequency', 'boost', 'rewrite', |
| 21 | + 'prefix_length', 'fuzziness', 'minimum_should_match', 'analyzer', |
| 22 | + 'max_expansions' |
| 23 | + ) |
20 | 24 | }, |
21 | 25 | 'multi_match': { |
22 | | - 'args': ({'fields': []}, 'query') |
| 26 | + 'args': ({'fields': []}, 'query'), |
| 27 | + 'kwargs': ( |
| 28 | + 'operator', 'zero_terms_query', 'cutoff_frequency', 'boost', 'rewrite', |
| 29 | + 'prefix_length', 'fuzziness', 'minimum_should_match', 'analyzer', |
| 30 | + 'max_expansions' |
| 31 | + ) |
23 | 32 | }, |
24 | 33 | 'common': { |
25 | 34 | 'args': ('query',), |
| 35 | + 'kwargs': ( |
| 36 | + 'minimum_should_match', 'high_freq', 'low_freq', 'high_freq_operator', |
| 37 | + 'low_freq_operator', 'cutoff_frequency' |
| 38 | + ), |
26 | 39 | 'process': lambda q: {'body': q} |
27 | 40 | }, |
28 | 41 | 'query_string': { |
29 | 42 | 'args': ('query',), |
30 | | - 'kwargs': ({'fields': []},) |
| 43 | + 'kwargs': ( |
| 44 | + {'fields': []}, 'default_field', 'default_operator', 'analyzer', |
| 45 | + 'allow_leading_wildcard', 'lowercase_expanded_terms', |
| 46 | + 'enable_position_increments', 'fuzzy_max_expansions', 'fuzziness', |
| 47 | + 'fuzzy_prefix_length', 'phrase_slop', 'boost', 'analyze_wildcard', |
| 48 | + 'auto_generate_phrase_queries', 'max_determinized_states', |
| 49 | + 'minimum_should_match', 'lenient', 'locale', 'time_zone' |
| 50 | + ) |
31 | 51 | }, |
32 | 52 | 'simple_query_string': { |
33 | 53 | 'args': ('query',), |
34 | | - 'kwargs': ({'fields': []},) |
| 54 | + 'kwargs': ( |
| 55 | + {'fields': []}, 'default_operator', 'analyzer', 'flags', 'locale', 'lenient', |
| 56 | + 'lowercase_expanded_terms', 'analyze_wildcard', 'minimum_should_match' |
| 57 | + ) |
35 | 58 | }, |
36 | 59 |
|
37 | 60 | # Term level queries |
|
0 commit comments