Project_Presentation.pptx
In the project directory, run the following to install flask, flask_cors, pysolr, react:
To run the backend code:
To run the frontend code:
React UI: http://localhost:3000
Backend API: http://localhost:5000/api
Install Postman to test backend API.
API Params:
key | value | description |
---|---|---|
query | e.g. "Chocolate Cake" | This is the query string coming from front end UI which is used to query Solr to retrieve documents |
rm | "page_rank" or "hits" | This is the selected relevance model option selected in the front end UI |
co | "flat" or "single" or "average" | This is the selected clustering option selected in the front end UI |
qe | "association" or "metric" or "scalar" | This is the selected query expansion option selected in the front end UI |