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
|
/// should be ordered by. The field must be declared as a fast field
|
||||||
/// when building the schema. Note, this only works for unsigned
|
/// when building the schema. Note, this only works for unsigned
|
||||||
/// fields.
|
/// fields.
|
||||||
|
/// offset (Field, optional): The offset from which the results have
|
||||||
|
/// to be returned.
|
||||||
///
|
///
|
||||||
/// Returns `SearchResult` object.
|
/// Returns `SearchResult` object.
|
||||||
///
|
///
|
||||||
|
@ -104,9 +106,9 @@ impl Searcher {
|
||||||
_py: Python,
|
_py: Python,
|
||||||
query: &Query,
|
query: &Query,
|
||||||
limit: usize,
|
limit: usize,
|
||||||
offset: usize,
|
|
||||||
count: bool,
|
count: bool,
|
||||||
order_by_field: Option<&str>,
|
order_by_field: Option<&str>,
|
||||||
|
offset: usize
|
||||||
) -> PyResult<SearchResult> {
|
) -> PyResult<SearchResult> {
|
||||||
let mut multicollector = MultiCollector::new();
|
let mut multicollector = MultiCollector::new();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue