I have long wanted a programming search engine where I could pick something like "Python" and "version 3.9" and always get the right thing. Similarly there is documentation for software packages that are similarly versioned (e.g. "react-router 4" vs "react-router 5")
If I know I want something from docs rather than SO, I open devdocs.io instead of a search engine. It's not a perfect solution but maybe it helps you as well.