-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
Hi,
I'm just reading through https://www.postgresql.org/message-id/20180709150905.6a27d15c@asp437-ThinkPad-L380 where Aleksandr submitted a patch to include the range operator inside a standard tsquery. For example (taken from the thread):
'term1 <4,10> term2'::tsquery -- Distance between term1 and term2 is
-- at least 4 and no greater than 10
'term1 <,10> term2'::tsquery -- Distance between term1 and term2 is
-- no greater than 10
'term1 <4,> term2'::tsquery -- Distance between term1 and term2 is
-- at least 4
This is an absolutely fantastic and much needed addition to postgres FTS imo. I was wondering the feasibility of including this in rum as an operator, or even tsvector2 - or would you require applying a patch/modifying postgres source code? From what i've seen the tsvector code has changed a lot in postgres13 so retroactively applying the patch might not be possible.
Any advice/information would be hugely appreciated - thanks!
Metadata
Metadata
Assignees
Labels
No labels