Context:
- Debian Code Search: Bachelor Thesis (2012)
- Announcing the new Debian Code Search Instant (2014)
- Debian Code Search: improving client-side latency (2016)
- Debian Code Search: positional index, TurboPFor-compressed (2019)
- Debian Code Search: OpenAPI now available (2021)
Documentation:
Guide to this repository:
cmd/dcsis the swiss-army knife tool for Debian Code Search, displaying index files in a variety of ways.cmd/dcs-localdcsruns a local development instance of Debian Code Search.
The service itself consists of the following services / jobs:
cmd/dcs-compute-rankinggeneratesranking.jsonbased on the Debian Popularity Contest (popcon).cmd/dcs-feederfeeds packages to multipledcs-package-importershards.cmd/dcs-webis the web server which runs searches on multipledcs-source-backendshards.
Each shard (codesearch.debian.net uses 6 shards) runs:
- A
cmd/dcs-package-importerto receive, unpack and index Debian packages for this shard. - A
cmd/dcs-source-backendto run actual searches over imported source code.