Skip to content

Commit ce5dd47

Browse files
committed
Docs for Personalized Search Rankings
1 parent 3410b6b commit ce5dd47

File tree

2 files changed

+6484
-7430
lines changed

2 files changed

+6484
-7430
lines changed

docs/code-search/features.mdx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,29 @@ You get the following improvements:
9595
- **Reworked fuzzy finder ⌘K**: Find files and symbols quickly and easily with our whole new fuzzy finder
9696
- **File actions**: Like open in editor and open on code host
9797

98+
## Personalized search ranking
99+
100+
<Callout type="info">The personalized search ranking experience is available for Enterprise users only.</Callout>
101+
102+
Sourcegraph Enterprise users can get more personalized and better-ranked search results in the search bar for their codebases. With this experience enabled, you can get intelligently ranked results for your full query for keyword searches like "data router". You also get results boosted from repositories you’ve recently contributed to, making it easier to find the code you care about faster.
103+
104+
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.
105+
106+
It is enabled by default, but you can disable it from your settings via:
107+
108+
```json
109+
experimentalFeatures: {
110+
boostRelevantRepositories: false
111+
}
112+
```
113+
114+
Here is an example of search results with personalized search ranking enabled:
115+
116+
![search-ranking-enabled](https://storage.googleapis.com/sourcegraph-assets/Docs/personalized-search-rankings.png)
117+
118+
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.
119+
120+
98121
## Other search tips
99122

100123
- 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

Comments
 (0)