Re: [twdev] Re: Request for help with new filter operator and new tutorial

2018-06-29 Thread Diego Mesa
All, Rob has fixed the issue with his plugin, so we can now have fuzzy search!!! On Thursday, June 28, 2018 at 11:09:21 AM UTC-5, Rob Hoelz wrote: > > Hi everyone! > > Diego was kind enough to bring this discussion to my attention - I plan on > fixing up that issue he ran into. > > Jeremy - if

Re: [twdev] Re: Request for help with new filter operator and new tutorial

2018-06-28 Thread Rob Hoelz
Hi everyone! Diego was kind enough to bring this discussion to my attention - I plan on fixing up that issue he ran into. Jeremy - if you decide to go with lunr.js but not use my plugin, please feel free to reach out if you have questions about lunr.js! One pitfall I ran into while upgrading

Re: [twdev] Re: Request for help with new filter operator and new tutorial

2018-06-28 Thread Diego Mesa
Hey Jeremy, Just wanted to let you know of this plugin: https://github.com/hoelzro/tw-full-text-search which incorporates lunr.js into TW for full text searching. I just tried today and am somewhat able to do fuzzy searching with it (does not deal with immediatel searching properly yet). I

Re: [twdev] Re: Request for help with new filter operator and new tutorial

2018-06-27 Thread Diego Mesa
Hey Jeremy, Thanks for your feedback - I agree search needs to performant. Im glad you're also looking at these issues! A priority for me is the inclusion of *fuzzy* searching - a quick look seems lunr does support it: https://lunrjs.com/guides/searching.html#fuzzy-matches but elastic does

Re: [twdev] Re: Request for help with new filter operator and new tutorial

2018-06-27 Thread Jeremy Ruston
Hi Diego Filter operators are often re-executed and so it's important that they perform well. For an expensive operation like a search we need to try to cache as much of the work as we can. An approach that should work is to introduce a new startup module that tracks changes to the store in