Question about RUM's TODO-list - Mailing list pgsql-general

From Andreas Joseph Krogh
Subject Question about RUM's TODO-list
Date
Msg-id VisenaEmail.59.fb659a079e604d8c.15866cb6aac@tc7-visena
Whole thread Raw
List pgsql-general
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

pgsql-general by date:

Previous
From: Mark Anns
Date:
Subject: Re: How the Planner in PGStrom differs from PostgreSQL?
Next
From: Andreas Joseph Krogh
Date:
Subject: Incorrect information about GIN-index in RUM's docs