The Docker environment takes a good 6-10 minutes to build, and has issues communicating with the server running on the host machine. Nothing Docker Compose can't solve later...
Todo
[x] Flask application to allow the server to communicate with the search engine
[x] Store tensor of article names ( and other fields maybe ) in the database on creation.
[x] Route to retrieve article name vectors with keys ( Don't think a new table is needed for this )
[x] article.search.domain route ( article name and id )
[x] article.search ( article name and id )
[x] Search caching?
Execution
Build the database, start the server, and seed the database from the scraper.
Configure SEARCH_ENGINE_HOST and SEARCH_ENGINE_PORT in /server/.env. Use an unused port of your choice and localhost for the host.
Semantic Searching
Researching and implementing a prototype for semantic searching on articles
https://www.sbert.net/
Todo
Store tensor of article names ( and other fields maybe ) in the database on creation.Route to retrieve article name vectors with keys ( Don't think a new table is needed for this )article.search.domain
route ( articlename
andid
)article.search
( articlename
andid
)Search caching?Execution
Build the database, start the server, and seed the database from the scraper.
Configure
SEARCH_ENGINE_HOST
andSEARCH_ENGINE_PORT
in/server/.env
. Use an unused port of your choice and localhost for the host.Configure these same variables in
/search/.env
.Run the search engine with
Send your queries to the server with