alpha
Login
or
Join now
boltless.me
/
zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
fork of https://github.com/sourcegraph/zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
zoekt
/
build
/
at
02541e61dd577c6384b3e6ec6dcb1ca540432cf7
1 folder
6 files
Julie Tibshirani
Ranking: handle files with missing ranks (#555)
3y ago
45754a7c
testdata
ranking: boost Scala matches based on symbol kind (#473)
3 years ago
builder.go
Ranking: handle files with missing ranks (#555) Even when a repo has ranking data, certain files will not have ranks, like Markdown or yaml files. Currently these have rank 0, which puts them at a big disadvantage and means they're usually ranked last. This PR proposes to use the mean repo rank instead of 0. The rules: * If we have a concrete rank for the file, always use it * If there's no rank, and it's a low priority file like a test, then use rank 0 * Otherwise use the mean rank for the repository We don't attempt to handle the case where an entire repo is missing ranks because it doesn't have precise code intel.
3 years ago
builder_test.go
Ranking: handle files with missing ranks (#555) Even when a repo has ranking data, certain files will not have ranks, like Markdown or yaml files. Currently these have rank 0, which puts them at a big disadvantage and means they're usually ranked last. This PR proposes to use the mean repo rank instead of 0. The rules: * If we have a concrete rank for the file, always use it * If there's no rank, and it's a low priority file like a test, then use rank 0 * Otherwise use the mean rank for the repository We don't attempt to handle the case where an entire repo is missing ranks because it doesn't have precise code intel.
3 years ago
builder_unix.go
Swap out all usages of the `syscall` package (#513) with the `golang.org/x/sys/unix` package. `syscall` has been frozen since Go 1.3 and deprecated (https://go.dev/doc/go1.4#major_library_changes). Using the `golang.org/x/sys/unix` package will bring in bug fixes and enhancements since `syscall` was frozen in 1.3, and will pave the way for multi-platform builds (which will affect only the single-program local install, most likely).
3 years ago
ctags.go
all: fix golangci-lint errors Only ignored errcheck and composites.
3 years ago
ctags_test.go
all: rename module to github.com/sourcegraph/zoekt We are a hard enough for now that we might as well have our own module name. This will also make it possible to more directly use go tooling.
3 years ago
e2e_test.go
Ranking: adapt to new ranking service API (#553) We are updating the ranking service API to only return a single rank representing the log of each file's reference counts. This PR adapts zoekt-indexserver to the new API shape, and updates the normalization strategy. For now, it doesn't change the on-disk format to keep the change simple.
3 years ago