FacetSearch​Facet​Search

Search documents in a Typesense DB with a facet search.

yaml
type: "io.kestra.plugin.typesense.FacetSearch"

Search documents with facet

yaml
id: typesense_facet_search
namespace: company.team

tasks:
  - id: facet_search
    type: io.kestra.plugin.typesense.FacetSearch
    apiKey: "{{ secret('TYPESENSE_API_KEY') }}"
    port: 8108
    host: localhost
    collection: Countries
    query: Paris
    queryBy: capital
    filter: "countryName: [France, England]"
    sortBy: "gdp:desc"
    facetBy: gdp
Properties

The API key to connect to the typesense DB

The name of the typesense collection

The query

The host of the typesense DB

The port of the typesense DB

The query

The fields to query

The filters to apply to the query

Is HTTPS used

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

The sorts to apply to the query

Hits number

Number of items hit by the search request

Format uri

URI to output

Results URI to an Amazon .ion file