DocumentIndex
Index a document to a Typesense DB.
yaml
type: "io.kestra.plugin.typesense.DocumentIndex"
Examples
Index a document to a Typesense DB
yaml
id: typesense_index_document
namespace: compnay.team
tasks:
- id: index_document
type: io.kestra.plugin.typesense.DocumentIndex
document: { "countryName":"France", "capital": "Paris", "gdp": 123456}
apiKey: "{{ secret('TYPESENSE_API_KEY') }}"
port: 8108
host: localhost
collection: Countries
Properties
apiKey *Requiredstring
The API key to connect to the typesense DB
collection *Requiredstring
The name of the typesense collection
document *Requiredobject
The document to index
The document to index must be a Map<String, Object>
host *Requiredstring
The host of the typesense DB
port *Requiredstring
The port of the typesense DB
https booleanstring
Is HTTPS used
By default, HTTP protocol will be use. Set this value to true tu use HTTPS