mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
Chore: fix default value for clientSearchResultRanking (#64420)
The search clients [default to using Zoekt's ranking](https://sourcegraph.com/github.com/sourcegraph/sourcegraph@f010787579fc0b88ef945a6cfd0091c58eefceeb/-/blob/client/web-sveltekit/src/routes/search/FileContentSearchResult.svelte?L29-29) if this setting is unset, but it's documented as defaulting to ordering by line number. Just fixes the default in the schema, which is only used for documentation.
This commit is contained in:
parent
74f4831aa3
commit
a9b536cbcd
@ -115,7 +115,7 @@
|
||||
"clientSearchResultRanking": {
|
||||
"description": "How to rank search results in the client",
|
||||
"type": "string",
|
||||
"default": "by-line-number",
|
||||
"default": "by-zoekt-ranking",
|
||||
"examples": ["by-line-number", "by-zoekt-ranking"],
|
||||
"!go": {
|
||||
"pointer": true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user