🪛 Refactoring and validation

This commit is contained in:
2021-07-14 09:59:03 -07:00
parent 749ea5778b
commit 6f92225228
11 changed files with 4005 additions and 2166 deletions

View File

@@ -8,7 +8,6 @@ export const matchScorer = (searchMatches, searchQuery) => {
// 4. Check if issue covers hash match strongly (score: +++)
// 5. Check if issue year matches strongly (score: +)
const score = 0;
console.log("yedvadkar", searchMatches);
each(searchMatches, (match, idx) => {
if (!isNull(searchQuery.issue.meta.normalized) && !isNull(match.name)) {
const issueNameScore = stringSimilarity.compareTwoStrings(