You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/code-search/features.mdx
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,32 @@ You get the following improvements:
95
95
-**Reworked fuzzy finder ⌘K**: Find files and symbols quickly and easily with our whole new fuzzy finder
96
96
-**File actions**: Like open in editor and open on code host
97
97
98
+
## Personalized search ranking
99
+
100
+
Sourcegraph Enterprise users can get more personalized and better-ranked search results in the search bar for their codebases. With this feature, you get:
101
+
102
+
- Improved ranking for keyword searches like "data router". This capability is enabled by default and cannot be configured
103
+
- Personalized ranking, specifically boosted results from repos you recently contributed to. This is controlled by the setting `experimentalFeatures.boostRelevantRepositories`
104
+
105
+
These boosted results from your recently contributed repositories make finding the code you care about easier.
106
+
107
+
The personalized search ranking works best if you have large codebases, especially for new users who may otherwise get overwhelmed by results from unfamiliar or irrelevant repositories.
108
+
109
+
Personalized search ranking is enabled by default, but you can disable it from your settings via:
110
+
111
+
```json
112
+
experimentalFeatures: {
113
+
boostRelevantRepositories: false
114
+
}
115
+
```
116
+
117
+
Here is an example of search results with personalized search ranking enabled:
As you can see, the results are now ranked based on their relevance to the query, and the results from repositories you've recently contributed to are boosted.
122
+
123
+
98
124
## Other search tips
99
125
100
126
- When viewing a file or directory, press the `y` key to expand the URL to its canonical form (with the full 40-character Git commit SHA).
0 commit comments