Open cholly75 opened 3 years ago
Code to parse natural language processing is on this branch: https://github.com/flexion/ef-cms/tree/8731-search-ustc-parser
stand-alone file that does the magic is shared/src/utilities/searchSyntaxParser.js
(and lots of tests, too)
As a DAWSON user, I would like to be able to use plain language to search using boolean functions in keywords/phrases so I can perform more accurate searches.
Pre-Conditions
Acceptance Criteria
Queries parse AND in the keyword/phrase field as the equivalent of the logical function AND/Elastic Search operator +
Queries parse OR in the keyword/phrase field as the equivalent of the logical function OR/Elastic Search operator |
Queries parse NOT in the keyword/phrase field as the equivalent of the logical function NOT/Elastic Search operator -
Queries using plain language operators still correctly work in conjunction with other supported operators, such as " " for exact match - add example
Plain language operators work everywhere that current ES operators currently work
Instructional text available to user
Mobile Design/Considerations
IRS API Considerations
Do these changes impact the IRS API?
Security Considerations
Notes
Tasks
Definition of Done (Updated 4-14-21)
Product Owner
UX
Engineering