add index for "paragraph"."rootId"