Live data from Hacker News

Lmgrep: Lucene-based grep-like utility

jocas.lt

1–10 of 27 posts

Re: Lmgrep: Lucene-based grep-like utility

#3

Is there an actual link to the source code somewhere in that blog post?

Yes, it is there as an in-text link:

"Then the most complicated part was to prepare executable binaries for different operating systems. Plenty of CPU, RAM, VirtualBox with Windows and macOS virtual machines, and here we go."

https://github.com/dainiusjocas/lucene-grep/releases/tag/v20...

Re: Lmgrep: Lucene-based grep-like utility

#7
Neat. This is similar to a tool I have been working on (but need to finish off) as I saw the same issue.

Except rather than build an index I brute forced the search each time. For most repositories it’s fast enough even with ranking.

https://github.com/boyter/cs For those interested it’s still very WIP with noticeable issues in TUI mode.

Re: Lmgrep: Lucene-based grep-like utility

#8
I’ve been looking for something exactly like this. I keep the complete text of articles I’ve enjoyed but, to-date, effective searching has meant spinning up an ES instance, which is painful. This is a specific use case that isn’t necessarily well-served by something like grep or ripgrep. I’ll definitely try this, thanks - looks very elegant.

Re: Lmgrep: Lucene-based grep-like utility

#10

I think one of the best code search tools I've seen is the one here: https://source.chromium.org/chromium I guess that's what Google uses internally? Is there an open source alternative?

I think there's a company attempting to implement their own version of something similar. A very important part of search is also the understanding of language semantics. Something that is really cool for this is Kythe [0].

[0] - https://kythe.io/

Post reply on HN