ToolJet can connect to your TypeSense deployment to read and write data.
Please make sure the host/IP of the TypeSense deployment is accessible from your VPC if you have self-hosted ToolJet. If you are using ToolJet cloud, please whitelist our IP.
ToolJet requires the following to connect to your TypeSense deployment:
- API Key
+ button of the query manager at the bottom panel of the editor and select the TypeSense added in the previous step as the data source.
Select the operation that you want to perform on your TypeSense cluster and click
Create to save the query.
Query results can be transformed using transformations. Read our transformations documentation to see how: link
1. Create a Collection
With this operation you can easily create
Collections in your TypeSense cluster. In the schema field, you'll need to define the schema for creating a new collection. Check out TypeSense docs to know more about collections here
2. Index a document
Use this operation to index a document to your collection. You'll need to specify the Collection Name where you want your document to be indexed and also provide the document data according the schema defined in the collection. Read more about Indexing a document in TypeSense here.
Use this operation to perform a search within the specified collection. Know more about the search parameters in the TypeSense doc here.
4. Get a document
Use this operation to fetch an individual document in a collection by providing the
id of the document. Read more about it here.
5. Update a document
Use this operation to update an individual document by providing the Collection Name and Id of the document. You'll need to provide the updated document data in the form of specified schema. Check out the TypeSense's doc on updating a document here.
6. Delete a document
Delete a document from collection by providing the
Id of the document. Check out the TypeSense's doc on deleting documents here.