If people want to add their own search engines, that's great. But I would 
hate to see the default engine become slower than it already is. For that 
matter, I'd like to turn off the key-by-key mechanism that makes usage on 
tablets so tedious.

The underlying "sort" comes from executable code built into javascript and 
so is not too slow. But other mechanisms (like Levenshtein) would have to 
be run in the javascript interpreter, meaning they would run very slowly as 
the size of the TW increased. 

What makes more sense to me is to use a keywords field with search add-on 
that checks that field as well. Sometimes the word you're searching for 
isn't in the text or title. Mat has presented a plugin like that somewhere 
in the forum.

-- Mark

On Thursday, November 9, 2017 at 8:40:16 AM UTC-8, Diego Mesa wrote:
>
> Cool plugin Rob! Thanks for this. I think in a personal knowledge base 
> like TW, search should definitely be a first-class part of the TW core. I'd 
> love to see something like fuzzy matching implemented as well:
>
> http://fusejs.io/
>
> Thanks for the plugin!
>
> On Thursday, November 9, 2017 at 10:06:54 AM UTC-6, Rob Hoelz wrote:
>>
>> The ordering is alphabetical by title - I'm sure there are plugins 
>> available that will add other search tabs with other orderings (eg. I often 
>> find myself wanting things ordered by modification date in reverse 
>> chronilogical order).  I implemented a full text search plugin that orders 
>> results by relevance: https://hoelz.ro/files/fts.html
>>
>> -Rob
>>
>> On Thursday, November 9, 2017 at 9:37:09 AM UTC-6, Diego Mesa wrote:
>>>
>>> Hello all, 
>>>
>>> What is the logic behind the *ordering* of search results? Wouldnt it 
>>> make sense to order them by Edit/Levenshtein distance:
>>>
>>> https://en.wikipedia.org/wiki/Edit_distance
>>>
>>>
>>>
>>

-- 
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/214f8d26-34f1-4fe7-b1de-5c59d4457e16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to