diff --git a/src/searcher.rs b/src/searcher.rs index 282fb85..b0bbc5c 100644 --- a/src/searcher.rs +++ b/src/searcher.rs @@ -94,6 +94,8 @@ impl Searcher { /// should be ordered by. The field must be declared as a fast field /// when building the schema. Note, this only works for unsigned /// fields. + /// offset (Field, optional): The offset from which the results have + /// to be returned. /// /// Returns `SearchResult` object. /// @@ -104,9 +106,9 @@ impl Searcher { _py: Python, query: &Query, limit: usize, - offset: usize, count: bool, order_by_field: Option<&str>, + offset: usize ) -> PyResult { let mut multicollector = MultiCollector::new();