O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.

Search Firestore with Typesense

Typesense
Made by Typesense

Indexes data from Firestore into Typesense for full-text search

Como esta extensão funciona

Use this extension to sync data from your Firestore collection to Typesense , to be able to do full-text fuzzy search on your Firestore data.

This extension listens to your specified Firestore collection and syncs Firestore documents to Typesense on creation, updates and deletes. It also provides a function to help you backfill data.

Additional setup

Before installing this extension, make sure that you have:

  1. Set up a Cloud Firestore database in your Firebase project.
  2. Setup a Typesense cluster (on Typesense Cloud or a Self-Hosted server).
  3. Setup a Typesense Collection either through the Typesense Cloud dashboard or through the API .

This extension will sync changes that happen after you've installed the extension. You'll be able to run a function to backfill existing data in your Firestore collection. Detailed information for running this backfill function will be provided after you install this extension.

Billing

To install an extension, your project must be on the Blaze (pay as you go) plan

  • You will be charged a small amount (typically around $0.01/month) for the Firebase resources required by this extension (even if it is not used).
  • This extension uses other Firebase and Google Cloud Platform services, which have associated charges if you exceed the service’s free tier:
    • Cloud Firestore
    • Cloud Functions (Node.js 14+ runtime. See FAQs )
  • Usage of this extension also requires you to have a running Typesense cluster either on Typesense Cloud or some self-hosted server. You are responsible for any associated costs with these services.

Como instalar a extensão

Como usar o Console do Firebase

Para instalar e gerenciar extensões, use o Console do Firebase.

Instalar usando o console

Como usar a Firebase CLI

Para instalar e gerenciar extensões, também é possível usar a Firebase CLI:

Etapa 1: execute o comando npm (em inglês) a seguir para instalar a CLI ou atualizá-la para a versão mais recente.

npm install -g firebase-tools
Não está funcionando? Consulte a referência da Firebase CLI ou altere suas permissões do npm (em inglês).

Etapa 2: configurar um novo diretório do projeto no Firebase ou acessar um já configurado

Etapa 3: adicionar esta extensão ao seu manifesto de extensões ao ser executada

firebase ext:install typesense/firestore-typesense-search --local --project=projectId_or_alias

Step 4 (Optional): Test this extension locally with the Firebase Emulator Suite

firebase emulators:start

Etapa 5: implantar as extensões do seu manifesto ao projeto

firebase deploy --only extensions --project=projectId_or_alias
Compatível com
Cloud Firestore
Licença
Apache-2.0
Versão
0.4.0