Closed swapnalshahil closed 3 years ago
@shivanshu1333 sir! Please review. š
Implement keyword search from cases. Create API which will give the path if searched keyword present in a particular data. (this will help in the front-end part)
API: http://127.0.0.1:5000/keyword/
method = ["POST"] { "case_name": "Case1", "keyword": "word" }
Fixes: #194
POSTMAN
@shivanshu1333 sir! I read about different algorithms to get optimal methods for keyword search. Here are some: m is the length of the pattern, n the length of the searchable text
These are some mostly used algorithms. However, from Python 3.10, the algorithm was updated to use an enhanced version of the Crochemore and Perrin's Two-Way string matching algorithm.
(source) https://github.com/python/cpython/blob/main/Objects/stringlib/stringlib_find_two_way_notes.txt
PS: I think I used the same method which is efficient and in @python.š
@shivanshu1333 sir I am having python linter by Microsoft in my vs code.
Can you please try to fix it?
Now I think it's good!
Description
Keyword search - Implementation of keyword search to get all the cases that have the searched keyword. Create API which will give all the cases which include the "searched keyword". (this will help in the front-end part) API: http://127.0.0.1:5000/keyword/search method = POST { "keyword": "word" }
Fixes #193
Type of change
How Has This Been Tested?
POSTMAN
Checklist: