Browse Source

Improve browser search results by tweaking FuzzySearchDatabase weights.

tags/v2.4.1
Andrew Belt 1 year ago
parent
commit
eddb882d5b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/app/Browser.cpp

+ 1
- 1
src/app/Browser.cpp View File

@@ -45,7 +45,7 @@ static fuzzysearch::Database<plugin::Model*> modelDb;

static void modelDbInit() {
modelDb = fuzzysearch::Database<plugin::Model*>();
modelDb.setWeights({1.0f, 1.0f, 1.0f, 0.8f, 1.0f});
modelDb.setWeights({0.9f, 0.75f, 1.0f, 0.8f, 0.9f});
modelDb.setThreshold(0.5f);

// Iterate plugins


Loading…
Cancel
Save