Backports the following commits to 7.x: Add default composable templates for new indexing strategy (#57629)