Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend base input parser #3

Open
zgornel opened this issue Apr 3, 2019 · 2 comments
Open

Extend base input parser #3

zgornel opened this issue Apr 3, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@zgornel
Copy link
Owner

zgornel commented Apr 3, 2019

A query language should be defined and developed. Should word at query term level, with boolean operators. Main operations should implement logical AND, OR (at this point implicitandNOT` (i.e. negation)

@zgornel zgornel changed the title Define, implement query language Extend base input parser Feb 6, 2020
@zgornel zgornel self-assigned this Feb 10, 2020
@zgornel zgornel added the enhancement New feature or request label Feb 10, 2020
@jpsamaroo
Copy link

These should also work across multiple input parsers. For example, I might want to search for "coupon" with the base text parser, AND'd with a search for results within a given geographic area (using a latitude+longitude+radius parser), to determine which local businesses have coupons available in my city.

@zgornel
Copy link
Owner Author

zgornel commented Nov 23, 2020

Indeed. The base input parser shoul dbe viewd as a "last-stage parser" that parses the query into a query data structure that is sent to the search methods. I'm envisioning a stacked parser approach here where parsers call the base one as one can build easily complex selection from the db.
So a flow would be "natural query --> (NLP parser) --> select-like query --> (Base input parser)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants