While trying to query revision table based on comments in toolforge environment, I noticed awful performance for simple query like:
select rev_id, comment_text from revision inner join comment on rev_comment_id=comment_id where comment_text like '%CSD#G11%' limit 10;
Following the good work in T166733 and related tasks, I think it may be cool to have revision_commentindex similar to revision_userindex in Toolforge for use by tools that query based on comments.