Code Monkey home page Code Monkey logo

Comments (10)

preslavrachev avatar preslavrachev commented on August 20, 2024 1

Wow, exciting! Can't wait to get this installed. Thanks for the quick jump in!

from alfred-bear.

preslavrachev avatar preslavrachev commented on August 20, 2024 1

Of course, it's totally well deserved! My hope is that your tool and my posts would trigger the attention of the Bear guys, about how important search is, once your database of notes grows out.

As always, I keep pushing forward for ways how to improve the search results even further. While I agree with you that keeping up a separate search index is an unnecessary complication, what makes me curious, is whether I can push SQLite to do this itself. Check this out: https://www.sqlitetutorial.net/sqlite-full-text-search/

I am not even sure, whether this is even supported on macOS, but it's worth trying. It's a bit invasive, since it requires creating a separate table inside the the Bear DB (not sure if that's allowed either), so I'd copy mine and give it a try. I'll let you know of the results.

from alfred-bear.

mjknght avatar mjknght commented on August 20, 2024 1

As another beneficiary of the update, I just wanted to second the gratitude! I recently brought a sizeable set of notes into Bear, having used Sublime Text ever since nvALT began to expire, and this update is a great addition to what was already a tool without which, in all honestly, I wouldn't have moved to Bear in the first place. I simply had to replace “Go to anything” for quickly searching and opening notes, and the way this now works makes it just as effective as that ever was. I had been meaning to post my thanks here prior to the update, so now I'll thank you twice…

Just in case it's news, another workflow I have come across and begun using in my recent move to Bear is BearHunter. I tend to use this only for particular full-text searches, rather than title search/open – though I know your workflow does this too – because of the boolean operators. Not sure if it is being actively maintained, as I had to change the database location to get it going. I am nowhere near qualified to explore how this works differently or similarly with Bear's data, so won't even attempt to! But perhaps worth a look.

from alfred-bear.

drgrib avatar drgrib commented on August 20, 2024

This has actually bothered me for a long time but I had given up on the problem because there is no way to make sqlite do fuzzy search without users manually installing Xcode and Homebrew and doing some brew installs .

However, I just checked this particular use case in the main Bear app and realized that, while they don't do fuzzy search either (probably for similar reasons), they do make multiple single word sqlite select queries and combine prioritized results. That will actually work both for your use case and my most common use case.

I'll put something together this week. Glad you brought this up. I'm excited to get it working.

from alfred-bear.

preslavrachev avatar preslavrachev commented on August 20, 2024

Thanks, that would be great!

Or, we can revive the old idea I mentioned, about using something like Bleve for that. These tools are perfect for the kind of complex query scenarios one might come up with. Of course, building up an index all the time is kind of a tricky thing.

from alfred-bear.

drgrib avatar drgrib commented on August 20, 2024

Right. Indexing still seems a little heavy of a process to add to me. I'm working on the branch right now. I'm pretty happy with the results but there are a lot more variations and metrics for doing this than I imagined before jumping in. I may keep it on my machine for personal use for a week and tweak it before releasing it.

from alfred-bear.

drgrib avatar drgrib commented on August 20, 2024

Alright! Implemented in #28. Hope it works well for you.

from alfred-bear.

preslavrachev avatar preslavrachev commented on August 20, 2024

@drgrib Works like a charm! Man, this is a game changer!

from alfred-bear.

preslavrachev avatar preslavrachev commented on August 20, 2024

@drgrib A well deserved mention on my blog: https://preslav.me/2020/06/29/getting-your-bear-notes-productivity-to-the-next-level-using-alfred/

from alfred-bear.

drgrib avatar drgrib commented on August 20, 2024

Thank you so much for the magnanimous endorsement :) I'm grateful for the positive publicity.

I'm also very happy the new search feature works as well for you as it did for me. I found myself rediscovering notes related to my test queries that I hadn't thought about in years. Thanks again for bringing the search feature to my attention.

from alfred-bear.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.