-- Adds an index for the TED lot clustering-oriented semantic representation builder.
-- The original ted-lot-structured-text index is left in place for databases that
-- already materialized or queried the earlier representation shape.

CREATE INDEX IF NOT EXISTS idx_doc_text_repr_ted_lot_clustering_builder
    ON DOC.doc_text_representation(builder_key)
    WHERE builder_key = 'ted-lot-clustering-text-v1';
