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.
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.