speedup of similar notes widget

This commit is contained in:
zadam
2019-09-02 21:36:24 +02:00
parent 76dce5197f
commit a79aec85b5
3 changed files with 5 additions and 9 deletions

View File

@@ -348,7 +348,7 @@ function evaluateSimilarity(text1, text2, noteId, results) {
coeff -= 0.2; // archived penalization
}
results.push({coeff, noteId});
results.push({coeff, notePath, noteId});
}
}