The full text search engine backend that powers Subnodal Search.
In order to use Subsearch, first create a virtualenv and install the required dependencies:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtCreate a PostgreSQL database called subsearch and a user subsearch.
Then run the following to create the required tables and indexes:
alembic upgrade headTo start Subsearch, run the following:
python3 node/main.pyTo create a new database revision, run:
alembic revision --autogenerate -m "[revision message]"To preview the SQL statements that will be executed during an upgrade, run:
alembic upgrade head --sqlTo upgrade the database to the latest revision, run:
alembic upgrade head