Add indexes for cookbook names and versions.