AppFlowy-IO / AppFlowy-Cloud

AppFlowy is an open-source alternative to Notion. You are in charge of your data and customizations. Built with Flutter and Rust.
GNU Affero General Public License v3.0
528 stars 145 forks source link

Appflowy-indexer service and /api/search endpoint #582

Closed Horusiath closed 1 month ago

Horusiath commented 1 month ago

This PR creates a new asynchronous service named appflowy-indexer which - in a similar fashion to appflowy-history - listens for incoming changes from redis streams collab events in order to decide if we should index or re-index appflowy documents for vector search purposes.

Later on these changes are available to for vector searching using HTTP GET over {appflowy-cloud-url}/api/search/{workspace}?query={query} endpoint in order to find documents matching searched phrase.

TODO list:

appflowy commented 1 month ago

LGTM