Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions docs/code-search/features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,32 @@ You get the following improvements:
- **Reworked fuzzy finder ⌘K**: Find files and symbols quickly and easily with our whole new fuzzy finder
- **File actions**: Like open in editor and open on code host

## Personalized search ranking

Sourcegraph Enterprise users can get more personalized and better-ranked search results in the search bar for their codebases. With this feature, you get:

- Improved ranking for keyword searches like "data router". This capability is enabled by default and cannot be configured
- Personalized ranking, specifically boosted results from repos you recently contributed to. This is controlled by the setting `experimentalFeatures.boostRelevantRepositories`

These boosted results from your recently contributed repositories make finding the code you care about easier.

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.

Personalized search ranking is enabled by default, but you can disable it from your settings via:

```json
experimentalFeatures: {
boostRelevantRepositories: false
}
```

Here is an example of search results with personalized search ranking enabled:

![search-ranking-enabled](https://storage.googleapis.com/sourcegraph-assets/Docs/personalized-search-rankings.png)

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.


## Other search tips

- 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).
Expand Down
Loading