Oh! So that's why it was slow only the first time? -- Mark
On Thursday, November 9, 2017 at 1:59:11 PM UTC-8, Rob Hoelz wrote: > > I didn't want to contaminate my tiddler store with the index (which can > get quite large), so I currently put it in local storage/indexeddb. > > -Rob > > On Thursday, November 9, 2017 at 1:35:55 PM UTC-6, Mark S. wrote: >> >> Could you store the index to a data tiddler so that it could be restored >> without rebuilding the index the next time the TW is loaded? >> >> -- Mark >> >> On Thursday, November 9, 2017 at 11:11:47 AM UTC-8, Rob Hoelz wrote: >>> >>> I'm glad you find it useful! BTW, if you have the time and desire, >>> contributions (such as automatically building the index in the background >>> if it's out of date) are most welcome - I have a whole list of ideas for >>> improvement if you're interested. >>> >>> Just to be clear - the index *does *update in the background if it's >>> been built, so that new tiddlers or changes to existing tiddlers are >>> reflected in the index. It just doesn't save to local storage >>> automatically. >>> >>> There is definitely room for more types of searches in TiddlyWiki - but >>> I agree with Mark in that a fast and simple search serves as a pretty good >>> default. >>> >>> -Rob >>> >>> On Thursday, November 9, 2017 at 10:42:38 AM UTC-6, Diego Mesa wrote: >>>> >>>> ah - disregard - I see you already answered in the README. Sorry :l >>>> >>>> On Thursday, November 9, 2017 at 10:41:44 AM UTC-6, Diego Mesa wrote: >>>>> >>>>> By the way, does the index rebuild itself every so often, or do I need >>>>> to rebuild it? >>>>> >>>>> >>>>> On Thursday, November 9, 2017 at 10:40:16 AM UTC-6, 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/b324c665-8b2e-4723-96ec-24927e896ef3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

