tw-full-text-search
tw-full-text-search copied to clipboard
Display scoring
Brought up by @diego898 in #5
The search results are ordered by a score; it might be nice to show the user a visual representation of this score.
As far as the appearance goes, I'm thinking a bar alongside the title in the results - the wider the bar, the more relevant the result was to the query.
As far as implementation goes, I'm thinking we would need to stash the scores in a data tiddler indexed by the tiddler names. I think that ftsearch
itself would need to do this, which raises the question of how this would work if there are multiple ftsearch
filters being displayed...