mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 16:06:31 +00:00 
			
		
		
		
	Skip the documents before fetching them
This commit is contained in:
		| @@ -501,7 +501,8 @@ fn export_documents( | ||||
|             } | ||||
|  | ||||
|             let mut stdout = BufWriter::new(std::io::stdout()); | ||||
|             for (i, ret) in index.all_documents(&rtxn)?.skip(offset.unwrap_or(0)).enumerate() { | ||||
|             let all_documents = index.documents_ids(&rtxn)?.into_iter().skip(offset.unwrap_or(0)); | ||||
|             for (i, ret) in index.iter_documents(&rtxn, all_documents)?.enumerate() { | ||||
|                 let (id, doc) = ret?; | ||||
|                 let mut document = obkv_to_json(&all_fields, &fields_ids_map, doc)?; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user