Commit Graph

9 Commits

Author SHA1 Message Date
seb
e94c034927 Refine word similarity calculation in similarity_search.c by enforcing exact matches for short words and adjusting similarity thresholds. Increase weight of word matches in overall similarity score calculation. 2025-04-18 09:32:44 +02:00
seb
53da84fbcf Update version to 1.0.1 in package.json for release. 2025-04-18 09:24:41 +02:00
seb
cd41ca2f52 Add word similarity calculation to enhance overall similarity scoring in calculate_similarity function. Implement character matching logic and boost score for same-length words. 2025-04-18 09:20:44 +02:00
seb
6091cc0b80 Increase default capacity in SearchIndexWrapper and enhance similarity calculation in calculate_similarity function to boost similarity score when all query words are found. Update MAX_WORDS and MAX_STRING_LEN definitions for improved handling. 2025-04-18 09:16:26 +02:00
seb
ca2c86ce33 upd 2025-04-18 09:06:34 +02:00
seb
da5e7476a0 Implement input validation for string length and index capacity in similarity_search_addon.cc and similarity_search.c; enhance memory management in search_index function. 2025-04-18 08:57:35 +02:00
seb
de950fa11c Enhance string handling in similarity_search.c with input validation and memory management improvements; update test.js to utilize new SimilaritySearch class for index creation. 2025-04-18 08:52:18 +02:00
seb
8c51ff23f6 Remove compiled binaries and package-lock.json from the project. 2025-04-18 08:23:44 +02:00
seb
51a3cc6c2d genesis 2025-04-18 08:22:35 +02:00