GET search

codesearch.debian.net

Summary: Searches through source code
Operation ID: search
Auth: unknown
Description

Performs a search through the full Debian Code Search corpus, blocking until all results are available (might take a few seconds depending on the search query). Search results are ordered by their ranking (best results come first).

Parameters (2)

match_mode (string, query, optional, default: regexp)

Whether the query is to be interpreted as a literal (`literal`) instead of as an RE2 regular expression (`regexp`). Literal searches are faster and do not require escaping special characters, regular expression searches are more powerful.

Constraints: {'enum': ['literal', 'regexp']}

query (string, query, required)

The search query, for example `who knows...` (literal) or `who knows\.\.\.` (regular expression). See https://codesearch.debian.net/faq for more details about which keywords are supported. The regular expression flavor is RE2, see https://github.com/google/re2/blob/master/doc/syntax.txt

No probe data for this endpoint yet.