mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
feat: Allow querying a range of documents
This commit is contained in:
parent
41b8f891b0
commit
7aafba67ed
2 changed files with 29 additions and 12 deletions
|
@ -46,7 +46,7 @@ fn main() -> Result<(), Box<Error>> {
|
|||
|
||||
let (elapsed, documents) = elapsed::measure_time(|| {
|
||||
let builder = view.query_builder().unwrap();
|
||||
builder.query(&buffer, opt.number_results)
|
||||
builder.query(&buffer, 0..opt.number_results)
|
||||
});
|
||||
|
||||
let mut full_documents = Vec::with_capacity(documents.len());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue