You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
235115704;Doctor Vine;The Big F;The Big F;Rock;US;1989;5:29;599616000;5.29
13
+
249025232;"Ringel; Ringel; Reihe";Kinderlieder ABC - Der Bielefelder Kinderchor Singt 42 Lieder Von A-Z;Der Bielefelder Kinderchor;Children's;Germany;1971;;31536000;
14
+
710094000;Happy Safari = Safari Feliz;Safari Swings Again = El Safari Sigue En Su Swing;Bert Kaempfert & His Orchestra;Jazz;Argentina;1977;2:45;220924800;2.45
15
+
538632700;Take Me Up;Spring;Various;Electronic;US;2000;3:06;946684800;3.06
16
+
1556505508;Doin To Me ( Radio Version );Say My Name;Netta Dogg;Hip Hop;US;2005;;1104537600;
17
+
1067031900;Concerto For Balloon & Orchestra / Concerto For Synthesizer & Orchestra;Concerto For Balloon & Orchestra And Three Overtures;Stanyan String & Wind Ensemble;Classical;US;1977;;220924800;
18
+
137251914;"I Love The Nightlife (Disco 'Round) (Real Rapino 7"" Mix)";The Adventures Of Priscilla: Queen Of The Desert - Original Motion Picture Soundtrack;Various;Stage & Screen;US;1994;3:31;757382400;3.31
19
+
554983904;Walking On The Moon;Certifiable (Live In Buenos Aires);The Police;Rock;Malaysia;2008-11-00;;1225497600;
20
+
557616002;Two Soldiers;Jerry Garcia / David Grisman;David Grisman;"Folk; World; & Country";US;2014-04-00;4:24;1396310400;4.24
21
+
878936809;When You Gonna Learn;Live At Firenze 93;Jamiroquai;Funk / Soul;France;2004;13:01;1072915200;13.01
22
+
368960707;Sardo D.O.C.;Sardinia Pride Compilation Vol.2;Various;Hip Hop;Italy;2012-06-22;4:41;1340323200;4.41
23
+
1416041312;Sympathy For The Devil;Under Cover;Ozzy Osbourne;Rock;Russia;2005;7:11;1104537600;7.11
Copy file name to clipboardExpand all lines: meilisearch/index.py
+32-6Lines changed: 32 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -434,6 +434,7 @@ def add_documents_csv(
434
434
self,
435
435
str_documents: str,
436
436
primary_key: Optional[str] =None,
437
+
csv_delimiter: Optional[str] =None,
437
438
) ->TaskInfo:
438
439
"""Add string documents from a CSV file to the index.
439
440
@@ -443,6 +444,8 @@ def add_documents_csv(
443
444
String of document from a CSV file.
444
445
primary_key (optional):
445
446
The primary-key used in index. Ignored if already set up.
447
+
csv_delimiter:
448
+
One ASCII character used to customize the delimiter for CSV.
446
449
447
450
Returns
448
451
-------
@@ -455,7 +458,7 @@ def add_documents_csv(
455
458
MeiliSearchApiError
456
459
An error containing details about why Meilisearch can't process your request. Meilisearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
The primary-key used in index. Ignored if already set up.
501
505
type:
502
-
The type of document. Type available: 'csv', 'json', 'jsonl'
506
+
The type of document. Type available: 'csv', 'json', 'jsonl'.
507
+
csv_delimiter:
508
+
One ASCII character used to customize the delimiter for CSV.
503
509
504
510
Returns
505
511
-------
@@ -512,7 +518,14 @@ def add_documents_raw(
512
518
MeiliSearchApiError
513
519
An error containing details about why Meilisearch can't process your request. Meilisearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
The primary-key used in index. Ignored if already set up
626
+
The primary-key used in index. Ignored if already set up.
627
+
csv_delimiter:
628
+
One ASCII character used to customize the delimiter for CSV.
613
629
614
630
Returns
615
631
-------
@@ -622,13 +638,14 @@ def update_documents_csv(
622
638
MeiliSearchApiError
623
639
An error containing details about why Meilisearch can't process your request. Meilisearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
The primary-key used in index. Ignored if already set up.
641
658
type:
642
659
The type of document. Type available: 'csv', 'json', 'jsonl'
660
+
csv_delimiter:
661
+
One ASCII character used to customize the delimiter for CSV.
643
662
644
663
Returns
645
664
-------
@@ -652,7 +671,14 @@ def update_documents_raw(
652
671
MeiliSearchApiError
653
672
An error containing details about why Meilisearch can't process your request. Meilisearch error codes are described here: https://docs.meilisearch.com/errors/#meilisearch-errors
0 commit comments