typesense / typesense-mongodb

A Node.js CLI to sync documents from a MongoDB collection to Typesense.
https://typesense.org/docs/0.21.0/guide/mongodb-full-text-search.html
Apache License 2.0
28 stars 5 forks source link
mongodb typesense

Typesense MongoDB Integration

CircleCI

A CLI to sync documents from a MongoDB collection to Typesense.

Installation

npm install -g typesense-mongodb

Usage

Prerequisites

Example

typesense-mongodb \
    --mongo-collection=collection \
    --mongo-database=database \
    --typesense-collection=collection \
    --mongo-url=mongodb://localhost:27017 \
    --typesense-url=http://localhost:8108 \
    --typesense-api-key=xyz

Arguments

Parameter Default Description
--mongo-database database MongoDB database name
--mongo-collection collection MongoDB collection name
--mongo-url mongodb://localhost:27017 MongoDB instance URI along with username and passsword
--typesense-collection collection Typesense collection name
--typesense-url http://localhost:8108 Typesense endpoint URL
--typesense-api-key xyz Typesense API key

Support

Please open a Github issue or join our Slack Community