News for hackers. Stuff that matters.
Re:Code Search Is Hard by bawolff on Wednesday April 10, 2024 @03:38PM (#39994908)
Surprised that hound https://github.com/hound-search/hound isn't mentioned. I thought it was the leader of open source solutions in this space.

I've been using Wikimedia's instance ( https://codesearch.wmcloud.org/search/ ) and have generally been pretty happy with what it provides.

Re:Code Search Is Hard by isker on Wednesday April 10, 2024 @04:47PM (#39995536)
Hound has made an interesting choice to not bound searches. https://codesearch.wmcloud.org/search/?q=test&files=&exclude... produces an ajax request that (for me) took 13s to produce a 55MB JSON response, and then takes many more seconds to render into the DOM.

Properly bounding search response sizes was one of the things I had to ensure Zoekt could do in its JSON APIs that I use in neogrok: https://github.com/sourcegraph/zoekt/pull/615

Re:Code Search Is Hard by bawolff on Wednesday April 10, 2024 @05:57PM (#39996136)
Yeah, i agree, that is weird. Especially if you search for something super common like "function" you basically DoS it.