I did a bit of testing with some common search strings for TiddlyWiki. eg: field, tag, title, add, delete, save, tiddler, widget … and so on
There seems to be a pattern.
- Usually we do have titles, that start with the search term, but they are alphabetically sorted, so the end up low in the list mainly because of the “Action**” widgets
- There are some tiddlers, where the search term is the 2nd or 3rd word in the title. eg: “Date Fields”
- There are tiddlers where the search term is part of a combined title. eg: or TiddlerFields, ActionSetFieldWidget
Using this info would allow us to create some kind of a ranking mechanism based on tiddler titles
In a 2nd or 3rd step we could do a full text search and count the “search term” in the body text. … Similar to the second list in the dropdown. BUT I would want to combine that info in 1 list
In a 3rd or 2nd step we could search the “tags” if it contains the search term …
With all that info combined it may be possible to create an “overall ranking” based on an algorithm.
Just some brainstorming
-mario