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

Evaluate if it's worth to introduce a web-style search with operators #10

Open
kpanic opened this issue Sep 28, 2020 · 0 comments
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@kpanic
Copy link
Owner

kpanic commented Sep 28, 2020

Maybe taking advantage of https://www.postgresql.org/docs/12/textsearch-controls.html#TEXTSEARCH-PARSING-QUERIES

SELECT websearch_to_tsquery('english', '"sad cat" or "fat rat"');
       websearch_to_tsquery
-----------------------------------
 'sad' <-> 'cat' | 'fat' <-> 'rat'
(1 row)

Or maybe we should create our own parser with:

or

@kpanic kpanic added enhancement New feature or request help wanted Extra attention is needed labels Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant