FacetSearch
Search documents with facet
Search documents from a Typesense DB with facet
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
Dynamic
YES
The API key to connect to the typesense DB
Dynamic
YES
The name of the typesense collection
Dynamic
YES
The query
Dynamic
YES
The host of the typesense DB
Dynamic
YES
The port of the typesense DB
Dynamic
YES
The query
Dynamic
YES
The fields to query
Dynamic
YES
The filters to apply to the query
Dynamic
YES
Is HTTPS used
By default, HTTP protocol will be use. Set this value to true tu use HTTPS
Dynamic
YES
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