Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aiji42/prisma-fts-middleware

This library performs Prisma full-text search with external tools such as ElasticSearch, OpenSearch, and Algolia.
https://github.com/aiji42/prisma-fts-middleware

Last synced: 24 days ago
JSON representation

This library performs Prisma full-text search with external tools such as ElasticSearch, OpenSearch, and Algolia.

Awesome Lists containing this project

README

        

[![codecov](https://codecov.io/gh/aiji42/prisma-fts-middleware/branch/main/graph/badge.svg?token=1CD69HJ95D)](https://codecov.io/gh/aiji42/prisma-fts-middleware)

![prisma-fts](./images/hero.png)

# @prisma-fts

This library performs Prisma full-text search with external tools such as ElasticSearch, OpenSearch, and Algolia.

## Libraries

### For Algolia

See [`@prisma-fts/algolia`](https://github.com/aiji42/prisma-fts-middleware/tree/main/packages/algolia)

### For Elasticsearch

See [`@prisma-fts/elasticsearch`](https://github.com/aiji42/prisma-fts-middleware/tree/main/packages/elasticsearch)

### For OpenSearch

See [`@prisma-fts/opensearch`](https://github.com/aiji42/prisma-fts-middleware/tree/main/packages/opensearch)

### For Meilisearch

If there is a need, I will make it, just let me know in an issue.

## Structure

Bypass the query to the search engine using [Prisma middleware](https://www.prisma.io/docs/concepts/components/prisma-client/middleware).

![structure](./images/structure.png)

## Contributing
Please read [CONTRIBUTING.md](./CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details