Join GitHub today
Web search uses api endpoint #1822
NOTE! I want people to pay careful attention to this change, try it, try to break it. Search is one of the most important parts of the site and as such I'm cautious.
Hopefully, if I've done my job correctly the results should be exactly the same as currently. I have not exposed the boosts etc.
Also, pay attention to the slight change in
The api currently (if not explicitly told) decides whether it should show expanded to collapsed results based on this regex which is similar. It then contains within the result a key saying whether the results were collapsed. It is this value that is then used to decide if the "search in distribution" link is shown. Is this sufficient or does it need tweaking?