Skip to content

Commit 9de9506

Browse files
Update README.md
1 parent 32e8179 commit 9de9506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search/word_score/local/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
- Replace the file in `./content` with a csv file of your choice, but the data column should be named `tags` column.
88
- Start your docker engine and `docker build -t word_score .`.
99
- Do `docker run -p 8000:8000 word_score`.
10-
- `curl -X POST -H "Content-Type: application/json" -d '{"query": QUERY, "n": N}' http://0.0.0.0:8000`. <br> Replace `QUERY` with a query and `N` with the number of rows you want to retrieve.
10+
- `curl -X POST -H "Content-Type: application/json" -d '{"query": "seed procurement district", "n": "5", "search_category" : "seed"}' http://localhost:8000/`. <br> Replace `seed procurement district` with a query you want to search and `5` with the number of rows you want to retrieve.
1111
- The reponse for above would be: <br>
1212
`
1313
{

0 commit comments

Comments
 (0)