Skip to content

muskedunder/docsearch

Repository files navigation

To run network

docker-compose -p docbrowse up --build

To inspect database, go to PGAdmin at localhost:8050. To find out what address postgres is running on, do

docker network inspect docbrowse_default

and find the IPv4Address for the database container.

SQL for searching document based on document body

SELECT *
FROM document
WHERE to_tsvector(body) @@ to_tsquery('search string goes here');

So start streamlit app

streamlit run browser.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published