Live data from Hacker News

Sourcegraph Server 2.4: free, powerful search for private code

about.sourcegraph.com

71–80 of 89 posts

Re: Sourcegraph Server 2.4: free, powerful search for private code

#72
post #3

Sourcegraph CEO here. Thanks for this post. We packed a lot of stuff into 2.4: faster, more powerful code search, Google Alerts-style search monitoring, diff searches, and more. It’s now free on a single server for any number of users and repositories. Happy to answer questions here.

what's the underlying search engine?

Re: Sourcegraph Server 2.4: free, powerful search for private code

#75
post #50
post #45

Earlier quoted context omitted.

Google also has this: https://source.bazel.build

That's not an open source product and not available otherwise, though it is backed by kythe.

If you want to have an open source index search, you can try out github.com/google/zoekt/ . See here for a demo site: https://cs.bazel.build/

For example: https://cs.bazel.build/search?q=r%3Atorvalds+meltdown&num=50 searches the Linux kernel for "meltdown"

Re: Sourcegraph Server 2.4: free, powerful search for private code

#76
post #3

Sourcegraph CEO here. Thanks for this post. We packed a lot of stuff into 2.4: faster, more powerful code search, Google Alerts-style search monitoring, diff searches, and more. It’s now free on a single server for any number of users and repositories. Happy to answer questions here.

For those of us associated with very many repos is there a way to limit cloning to only the ones we work with?

Re: Sourcegraph Server 2.4: free, powerful search for private code

#77
For people interested in searching code using an open source solution, you might be interested in Zoekt too, github.com/google/zoekt.

There is a demo site where you can search 30G of source code (including the Linux kernel, Android and Chrome) supporting regular expressions, and file name search:

https://cs.bazel.build/?q=%20

For example, https://cs.bazel.build/search?q=+r%3Atorvalds+craz%5Byi%5D&n... looks for craz[iy] across the Linux kernel.

Re: Sourcegraph Server 2.4: free, powerful search for private code

#78
post #3

Sourcegraph CEO here. Thanks for this post. We packed a lot of stuff into 2.4: faster, more powerful code search, Google Alerts-style search monitoring, diff searches, and more. It’s now free on a single server for any number of users and repositories. Happy to answer questions here.

unrelated question to the server but related to Sourcegraph: Why did you guys switch away from the VS code style editor on the web to an uneditable one? I loved using it.

on an unrelated note: did you work on AWS SQS?

Re: Sourcegraph Server 2.4: free, powerful search for private code

#79
post #77

For people interested in searching code using an open source solution, you might be interested in Zoekt too, github.com/google/zoekt. There is a demo site where you can search 30G of source code (including the Linux kernel, Android and Chrome) supporting regular expressions, and file name search: https://cs.bazel.build/?q=%20 For example, https://cs.bazel.build/search?q=+r%3Atorvalds+craz%5Byi%5D&n... looks for craz[…

Zoekt looks very interesting. We'll consider adding it to GitLab in https://gitlab.com/gitlab-org/gitlab-ce/issues/41925 and https://gitlab.com/gitlab-org/gitlab-ce/issues/41450 Please comment in those issues if you have thoughts about if we can use it.

BTW I know you're in Munich now but I wanted to say hi from your hometown Utrecht.

Re: Sourcegraph Server 2.4: free, powerful search for private code

#80
post #3

Sourcegraph CEO here. Thanks for this post. We packed a lot of stuff into 2.4: faster, more powerful code search, Google Alerts-style search monitoring, diff searches, and more. It’s now free on a single server for any number of users and repositories. Happy to answer questions here.

Just tried this out on some of our code bases. It appears to fail to generate snippets/highlights for all files that contain non-Unicode text, e.g. "Müller" in ISO-8859-1. Known issue?

Many queries times out for me although I'm running it on a pretty beefy AWS c5 instance with SSDs. Queries such as "type:diff" doesn't seem to work at all on my code bases. It also does not appear to cache any data from previous runs of "git log", so attempting to do the suggested reload doesn't really workaroudn the issue. Are you working on improving the performance?

Post reply on HN