Skip to content
SubnodalPublic

About

The full text search engine backend that powers Subnodal Search.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

Subsearch

The full text search engine backend that powers Subnodal Search.

Prerequisites

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.txt

Database setup

Create a PostgreSQL database called subsearch and a user subsearch.

Then run the following to create the required tables and indexes:

alembic upgrade head

Running a node

To start Subsearch, run the following:

python3 node/main.py

Database management

To 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 --sql

To upgrade the database to the latest revision, run:

alembic upgrade head

About

The full text search engine backend that powers Subnodal Search.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages