DocumentIndex
Index a document to a Typesense DB
yaml
type: "io.kestra.plugin.typesense.DocumentIndex"
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
Dynamic
YES
The API key to connect to the typesense DB
Dynamic
YES
The name of the typesense collection
Dynamic
YES
The document to index
The document to index must be a Map<String, Object>
Dynamic
YES
The host of the typesense DB
Dynamic
YES
The port of the typesense DB
Dynamic
YES
Is HTTPS used
By default, HTTP protocol will be use. Set this value to true tu use HTTPS