This message was deleted.
# community-help
s
This message was deleted.
j
We don't expose that field for sorting. So you would have to duplicate the data in that field in a new string field and use that for sorting
m
👍
whats the best way you would recommend uploading a 1.8 million text line file to typesense?
j
I would recommend converting it to a JSONL file, and then use the parallel command and curl to upload it. It's documented under the "Shell" tab in this section
Copy code
# If you have a large JSONL file, 
#   you can split the file and 
#   parallelize the import using this one liner:
parallel --block -5 -a documents.jsonl --tmpdir /tmp --pipepart --cat 'curl -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" -X POST -T {} http://localhost:8108/collections/companies/documents/import?action=create'
🙌 2