Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit a9b536c

Browse files
authored
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.
1 parent 74f4831 commit a9b536c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema/settings.schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"clientSearchResultRanking": {
116116
"description": "How to rank search results in the client",
117117
"type": "string",
118-
"default": "by-line-number",
118+
"default": "by-zoekt-ranking",
119119
"examples": ["by-line-number", "by-zoekt-ranking"],
120120
"!go": {
121121
"pointer": true

0 commit comments

Comments
 (0)