chore: restore the typing signature for fuzzy_term_query (#261)
parent
983364b3a5
commit
a14649f103
|
@ -205,6 +205,17 @@ class Query:
|
|||
def all_query() -> Query:
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def fuzzy_term_query(
|
||||
schema: Schema,
|
||||
field_name: str,
|
||||
text: str,
|
||||
distance: int = 1,
|
||||
transposition_cost_one: bool = True,
|
||||
prefix=False,
|
||||
) -> Query:
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def phrase_query(schema: Schema, field_name: str, words: list[Union[str, tuple[int, str]]], slop: int = 0) -> Query:
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue