Closed amamenko closed 1 year ago
@amamenko typesenseInstantsearchAdapter.typesenseClient
is actually the SearchClient
from the Typesense JS / TS library, which only supports searching and no other operations.
So to access overrides, you want to instantiate a separate Client
object from the Typesense JS/TS library.
Hi, I would like to set Typesense collection overrides using this library as detailed in the Typesense curation docs for version 0.23.1.
Typesense's docs show an example as such:
I tried to follow their lead using the
typesense-instantsearch-adapter
library like so:but I get the error
so
typesenseInstantsearchAdapter.typesenseClient.collections('companies')
does indeed exist, but theoverrides
method does not.Are overrides supported by this library at the moment and, if so, is there any documentation on how to set them up?