Alternative to Get All Documents from Collection
TLDR Stefan sought better options for function, and Dingu offered the advice to use the Typesense export API. However, Stefan acknowledges a misunderstanding and the default Typesense functionality suffices.
Powered by Struct AI
3
29mo
Solved
Apr 10, 2021 (29 months ago)
Stefan
Stefan
12:12 PMany better option?
Dingu
Dingu
12:15 PMif you want to just get all the documents from the collection. you could probably use the export API.
https://typesense.org/docs/0.13.0/api/documents.html#export-documents
https://typesense.org/docs/0.13.0/api/documents.html#export-documents
Stefan
Stefan
12:16 PMthank you, bu I think I made a mistake here and typesense does what i want by default
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 2764 threads (79% resolved)
Similar Threads
Accessing All Documents in Typesense Index
Mojan asked how to extract all documents from a Typesense index; Jason suggested using the export endpoint for this.

3
3mo
Solved
Discussing Efficient Use of Export and Search in Typesense
Anton proposes the use of export in Typesense but michtio disagrees, citing loss of search benefits. They further debate on the search limitations and optimal search parameters to return all matching documents.
8
14mo
Migrating Collection Data Between Typesense Instances
Roy asked about migrating collection data between typesenses. Kishore Nallan suggested copying over the entire data directory.
5
1w
Solved