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

Configure Feed

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

chore: remove unused scoreImportantThreshold (#471)

Leftover from #452

+12 -13
+12 -13
contentprovider.go
··· 454 454 455 455 const ( 456 456 // TODO - how to scale this relative to rank? 457 - scorePartialWordMatch = 50.0 458 - scoreWordMatch = 500.0 459 - scoreBase = 7000.0 460 - scorePartialBase = 4000.0 461 - scoreImportantThreshold = 2000.0 462 - scoreSymbol = 7000.0 463 - scorePartialSymbol = 4000.0 464 - scoreKindMatch = 100.0 465 - scoreFactorAtomMatch = 400.0 466 - scoreShardRankFactor = 20.0 467 - scoreFileOrderFactor = 10.0 468 - scoreLineOrderFactor = 1.0 469 - scoreRepetitionFactor = 1.0 457 + scorePartialWordMatch = 50.0 458 + scoreWordMatch = 500.0 459 + scoreBase = 7000.0 460 + scorePartialBase = 4000.0 461 + scoreSymbol = 7000.0 462 + scorePartialSymbol = 4000.0 463 + scoreKindMatch = 100.0 464 + scoreFactorAtomMatch = 400.0 465 + scoreShardRankFactor = 20.0 466 + scoreFileOrderFactor = 10.0 467 + scoreLineOrderFactor = 1.0 468 + scoreRepetitionFactor = 1.0 470 469 ) 471 470 472 471 // findSection checks whether a section defined by offset and size lies within