fork of https://github.com/sourcegraph/zoekt
0

Configure Feed

Select the types of activity you want to include in your feed.

eval: remove important counter (#452)

the counter is not read anywhere

-4
-4
eval.go
··· 139 139 copyOpts := *opts 140 140 opts = &copyOpts 141 141 opts.SetDefaults() 142 - importantMatchCount := 0 143 142 144 143 var res SearchResult 145 144 if len(d.fileNameIndex) == 0 { ··· 372 371 fileMatch.addScore("doc-order", scoreFileOrderFactor*(1.0-float64(nextDoc)/float64(len(d.boundaries))), opts.DebugScore) 373 372 fileMatch.addScore("shard-order", scoreShardRankFactor*float64(md.Rank)/maxUInt16, opts.DebugScore) 374 373 375 - if fileMatch.Score > scoreImportantThreshold { 376 - importantMatchCount++ 377 - } 378 374 fileMatch.Branches = d.gatherBranches(nextDoc, mt, known) 379 375 sortMatchesByScore(fileMatch.LineMatches) 380 376 sortChunkMatchesByScore(fileMatch.ChunkMatches)