No work at all, as all of these already exist!
There are 20 here
https://voice.suttacentral.net has just such a curated collection of phrases to search for
suttacentral.net has summaries above nearly every sutta. Just click on the “Parallels” button to see the summary.
There’s already a search box on SuttaCentral… and it already searches the summaries
Seems you already have this one too! How fortunate you are!