On Thursday, November 6, 2014 10:52:38 PM UTC+1, Jeremy Ruston wrote: > > Are you sure it's not just that with one or two letters there are an awful > lot of title matches, so you'll have to scroll down to the see the divider > and the remaining matches. >
Aha, you're right but then I notice that this is not quite as I proposed then: I suggested to match the string with only the beginning of the titles. Thus "je" would yield JeremyRuston and Jermolene but not *"TiddlyWiki Posts" by Jeffrey Kishner.* I could argue for both approaches but if we aim for usability I would guess(!) that the most common search, particularly if searching on titles, is done by typing the actual first letters. An advantage would be that the list would get pruned even quicker. I fully see you point about that special behaviour for doubles being tricky to code and document. <:-) On Thursday, November 6, 2014 10:02:25 PM UTC+1, Jeremy Ruston wrote: >> >> I agree that the search result ordering should move title matches to the >> top. I'm not sure of the best way to do it. >> >> Ton demonstrates one approach: separate filters for each group of >> matches. With this approach the same tiddlers can appear in more than one >> grouping. It's also possible to format/label the groups clearly. >> >> The other approach is to extend the search filter so that it sorts the >> search results according to the field(s) containing the match. With this >> approach there wouldn't be any formatting to distinguish the groups, and >> each tiddler could only appear once. The upside is that it would be a good >> deal more efficient. >> >> Anyhow, I've made a quick update to get things moving by listing title >> matches first (see the screenshot below): >> >> https://github.com/Jermolene/TiddlyWiki5/commit/ >> 4d061d0fee959fdc5ab470dc8f8379bedfa946d9 >> >> I've also pushed a prerelease for you to try out: >> >> http://tiddlywiki.com/prerelease/ >> >> Best wishes >> >> Jeremy. >> [image: Inline image 1] >> >> On Thu, Nov 6, 2014 at 7:59 PM, Ton Gerner <[email protected]> wrote: >> >>> Hi Mat, >>> >>> Inspired by the work of Alberto Molina (I can't find a link at the >>> moment), I extended the standard search with 4 categories: >>> >>> * Tags starting with: >>> * Tiddler titles starting with: >>> * Tiddler titles containing: >>> * Tiddlers containing: >>> >>> For a working example see [1] >>> >>> Cheers, >>> >>> Ton >>> >>> [1] http://tw5custom.tiddlyspot.com/ >>> >>> >>> >>> On Thursday, November 6, 2014 8:29:11 PM UTC+1, Mat wrote: >>>> >>>> I suggest to prioritize based on title in search and for tag adding: >>>> >>>> If I understand it correctly, search searches on titles, tags and text, >>>> and presents the results alphabetically. This also goes for when you add >>>> tags by typing the first few letters in the "add tag" field. I think it >>>> would make sense to at least prioritize titles that start with the search >>>> string. I find I must often "search the search", ie my eyes must scan the >>>> resulting list to find the title I'm looking for. >>>> >>>> It is true you may not always search for the very tiddler whose start >>>> of the title match the search string, but the number of titles that start >>>> with the search string typically diminish very quickly as you type. If >>>> you, >>>> on tw.com, type "je" you get 84 matches but there are only two items, >>>> JeremyRuston and Jermolene, that start out with the search string. Thus, >>>> even if you're actually NOT searching for any of those two items then >>>> there >>>> are merely two of them in the otherwise very long list so putting them on >>>> top would matter little. On the other hand I would think that you quite >>>> often DO search for titles that start with the search string in which case >>>> getting them on top would quickify things a lot. Type 1-3 letters and you >>>> pretty much got it. >>>> >>>> <:-) >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Jeremy Ruston >> mailto:[email protected] >> > -- Jeremy Ruston mailto:[email protected] <javascript:> -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
