BulkIndex
Bulk-insert documents into a Typesense DB.
Index documents to a Typesense DB from an ION file
yaml
type: "io.kestra.plugin.typesense.BulkIndex"
Examples
Index documents to a Typesense DB from an ION file
yaml
id: typesense_bulk_index
namespace: company.team
tasks:
- id: bulk_index
type: io.kestra.plugin.typesense.BulkIndex
apiKey: "{{ secret('TYPESENSE_API_KEY') }}"
port: 8108
host: localhost
collection: Countries
from: file_uri
Properties
apiKey *Requiredstring
The API key to connect to the typesense DB
collection *Requiredstring
The name of the typesense collection
from *Requiredstring
The file URI containing the documents to index
host *Requiredstring
The host of the typesense DB
port *Requiredstring
The port of the typesense DB
chunk integerstring
The chunk size for every bulk request
https booleanstring
Is HTTPS used
By default, HTTP protocol will be use. Set this value to true tu use HTTPS
Outputs
size integer
The size of the rows fetched.