Thread: Question about RUM's TODO-list

Question about RUM's TODO-list

From
Andreas Joseph Krogh
Date:
Hi.
 
The following TODO-items are on RUM's TODO-list:
 
  • Allow multiple additional information (lexemes positions + timestamp).
  • Add support for arrays.
 
Will any of these items support storing BIGINT as part of a tsvector+timestamp?
so one an have an index like this:
create index rum_idx on message using rum (fts_all some_opclass, folder_id, received_timestamp) WITH (attach=received_timestamp, "to"=fts_all, order_by_attach=t);
 
Making it possible for a query like this to use one index:
WHERE fts_all @@ to_tsquery('simple', 'andre:*&jose:*') AND folder_id = ANY(ARRAY[2,3]::BIGINT[]) ORDER BY received_timestamp DESC LIMIT 10;
 
Thanks.
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
Attachment