Building a custom code search index in Go
boyter.org
boyter.org
Also, off-topic but as you know, I recently tried out your scc tool and am eagerly awaiting its support for Elixir templates (.eex, .heex)! You said it was a day from done a while back and would go out in the next release. What’s the release schedule like?
https://searchcode.com/?q=kong.New+lang%3Ago
Same search on GitHub:
https://github.com/search?type=code&q=kong.New
Edit: there also doesn't seem to be any ranking at all, such as exact word matches being boosted
There is ranking, first by a pre rank popularity of the repository and secondly by tf/idf of the trigrams. It’s weighted towards longer matches in the display as well.
But let me know where it’s not doing what you expect and I’ll fix it.
I would expect > 0 results for the above search
Same search on SourceGraph: https://sourcegraph.com/search?q=context:global+kong.New&pat...
Its just down to it not being in the index, I shall ensure I add it just for you based on this.
Done. That repository https://github.com/alecthomas/kong will get picked up when I kick off the indexing again (sometime next week once all the activity dies down)
Edit: typo
I actually checked, it was aware of your repository and has been tracking it for a while. Just it didn't get indexed due to me de-prioritizing github. If I can scrounge some more RAM back I will try to expand the index yet again.
In any case I manually updated your github star score, so it should pop to the top when I do get around to starting things again. Probably after re:invent.