refactoring of similar notes path handling

This commit is contained in:
zadam
2019-09-01 13:42:10 +02:00
parent c8a5c71ec2
commit c9cc2cb4f3
4 changed files with 36 additions and 8 deletions

View File

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