mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
add csv builder tests
This commit is contained in:
parent
53c79e85f2
commit
430e9b13d3
3 changed files with 297 additions and 31 deletions
|
@ -179,7 +179,7 @@ impl Transform<'_, '_> {
|
|||
if !self.autogenerate_docids {
|
||||
let mut json = Map::new();
|
||||
for (key, value) in document.iter() {
|
||||
let key = addition_index.get_id(key).cloned();
|
||||
let key = addition_index.name(key).cloned();
|
||||
let value = serde_json::from_slice::<Value>(&value).ok();
|
||||
|
||||
if let Some((k, v)) = key.zip(value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue