Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Use a proper indexer and search engine. Like xapian.

git grep works only for primitive results, but for all the metadata you need proper indices and an ui. Eg. exclude forks, rank headers higher than source. Rank titles or headers higher than bodies. Verbatim vs regex vs parsed search queries.

Xapian can all do that. And is very efficient on that scale. Unlike elasticsearch or Google code search.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: