DocumentIndex​Document​Index

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
Properties

The API key to connect to the typesense DB

The name of the typesense collection

The document to index

The document to index must be a Map<String, Object>

The host of the typesense DB

The port of the typesense DB

Is HTTPS used

By default, HTTP protocol will be use. Set this value to true tu use HTTPS