diff --git a/tantivy/tantivy.pyi b/tantivy/tantivy.pyi index 131557e..3934b62 100644 --- a/tantivy/tantivy.pyi +++ b/tantivy/tantivy.pyi @@ -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