bombadil icon indicating copy to clipboard operation
bombadil copied to clipboard

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

Open kpanic opened this issue 5 years ago • 0 comments

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:

  • https://hex.pm/packages/combine

or

  • https://hex.pm/packages/nimble_parsec

kpanic avatar Sep 28 '20 12:09 kpanic