-- the variant of index.sql for object-each and score-cast-text: the scores and the item score keep the text `->>` gives (docs/COL-SHRED.md, astext) DROP INDEX IF EXISTS docs_col; CREATE INDEX docs_col ON docs USING sift_col (id, grp, day, attrs, metrics_a, items) WITH (paths = 'attrs->channel text, attrs.nested.a.b int4, attrs.tags[] text, metrics_a.* astext, items[]{kind text, sub text, flag text, score astext}');