changed the args position
parent
e7b3e3527a
commit
42d29b5e94
|
@ -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<SearchResult> {
|
||||
let mut multicollector = MultiCollector::new();
|
||||
|
||||
|
|
Loading…
Reference in New Issue