I'm "merely" the packager, or integrator, but I'm not involved in 
developing the original fuse.js algorithm. I had need for a fuzzy serach in 
at least one of my work TWs, but didn't dare to dive too deep into the 
topic of Javascript search libraries, so I started with fuse.js. Maybe we 
can give the author of the search library more feedback to get it improved.

As far as I understand fuse.js, it does not necessarily give exact matches 
a better score than fuzzy ones. This might be related to the seemingly 
strange distance parameter where hits are to be expected. This is something 
the author of fuse.js might know better about.

There is a way to rank matches in different fields differently, that's also 
documented in the demo. Unfortunately, that more or less breaks matching a 
set of search terms across multiple fields, so I'm currently joining fields 
before the search; this is also documented. You can easily override this 
behavior, please see the demo wiki.

At the moment, the default is to search title, text, and tags only. This 
can be changed, and ... it's also ducmented in the demo. I didn't add 
control panel settings as this requires some work, and if the library turns 
our to be not good enough in searching, then the effort would be spent in 
vain. So, it's configuring a data tiddler by hand at the moment.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1e09b965-1529-4f72-8903-ff7745800d87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to