hadynz / obsidian-sidekick

A companion to identify hidden connections that match your tags and pages
134 stars 9 forks source link

Use Aho-Corasick algorithm for searching #14

Closed hadynz closed 2 years ago

hadynz commented 2 years ago

Pivoting searching solution. Away from Lunr.js (which just could not handle exact word search). Instead using a "dictionary-matching" algorithm, Aho-Corasick, which is more appropriate for Sidekick's use case.

This change loses stemming functionality. Something to consider bringing in later if users ask for it.