Matt Roberts
03/22/2023, 11:28 AMKishore Nallan
03/22/2023, 11:29 AMMatt Roberts
03/22/2023, 11:36 AMKishore Nallan
03/22/2023, 11:37 AMKishore Nallan
03/22/2023, 11:38 AMMatt Roberts
03/22/2023, 11:40 AMMatt Roberts
03/22/2023, 11:41 AMMatt Roberts
03/22/2023, 11:41 AMKishore Nallan
03/22/2023, 11:41 AMMatt Roberts
03/22/2023, 11:43 AMMatt Roberts
03/22/2023, 11:44 AMKishore Nallan
03/22/2023, 11:48 AMless
and identify the field names that need to be indexed.
2. Then in Typesense you will create a collection. Each collection has a schema which lists the fields to be indexed and their types (what you identified in previous step)
3. Once you create a collection, you have to now import the file into Typesense. For this you have to convert the JSON file to JSONL file. The jsonl (json line) format contains 1 JSON document per line instead of using an array structure that JSON uses (which makes it hard to ingest large files like this). To convert JSON to JSONL you can use the jq
tool as described here: https://typesense.org/docs/0.24.0/api/documents.html#import-a-json-file
4. You are now ready to import the file and then search on it. You can refer to the docs on how to do this.Matt Roberts
03/22/2023, 11:51 AMMatt Roberts
03/22/2023, 11:51 AMMatt Roberts
03/22/2023, 11:51 AMMatt Roberts
03/22/2023, 12:09 PMKishore Nallan
03/22/2023, 12:20 PMGio Kakhiani
03/24/2023, 6:29 PMMatt Roberts
03/26/2023, 6:57 PM