mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ML in SE: increase priority thresholds in semantic actions contributor
Previous thresholds led to matching results for completely messy queries consisting of the same letter GitOrigin-RevId: 0e4606fa6f2dbbc2d3394ab23d9a75b62be7935c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6891da670f
commit
2439ed75b3
+1
-1
@@ -200,7 +200,7 @@ class SemanticActionSearchEverywhereContributor(defaultContributor: ActionSearch
|
||||
companion object {
|
||||
private val logger = Logger.getInstance(SemanticActionSearchEverywhereContributor::class.java)
|
||||
|
||||
val PRIORITY_THRESHOLDS = (ORDERED_PRIORITIES zip listOf(0.35, 0.25, 0.2)).toMap()
|
||||
val PRIORITY_THRESHOLDS = (ORDERED_PRIORITIES zip listOf(0.68, 0.5, 0.4)).toMap()
|
||||
private const val DESIRED_RESULTS_COUNT = 10
|
||||
|
||||
private fun extractAction(item: Any): AnAction? {
|
||||
|
||||
Reference in New Issue
Block a user