Comments (10)
Wow, exciting! Can't wait to get this installed. Thanks for the quick jump in!
from alfred-bear.
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.
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.
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 install
s .
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.
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.
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.
Alright! Implemented in #28. Hope it works well for you.
from alfred-bear.
@drgrib Works like a charm! Man, this is a game changer!
from alfred-bear.
@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.
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)
- Feature request: open/create notes in app by default HOT 5
- Error when running on Monterey 12.3 HOT 2
- Bear 2.0/Beta support request HOT 17
- Searching without the hotkey HOT 3
- `bsearch` and `bs` disappear after pressing space or select HOT 6
- Search for Tag doesn't work when there is a space in the Tag name HOT 15
- Alfred Bear workflow may not work with Bear 2.x HOT 10
- Search failing with Bear2 update HOT 3
- Error when searching HOT 1
- Create a new blank note HOT 2
- Bug when creating ToC, if the title is a link, it doesn't go to that title HOT 4
- Error: "cmd/search/search: Bad CPU type in executable" HOT 2
- Feature request: Allow to search archived notes as well HOT 3
- Insert wiki-links instead of linking to id HOT 9
- Pressing SPACE after typing BS makes alfred-bear Workflow disappear HOT 3
- Infinite wait state HOT 3
- Native Apple Silicon Support without Rosetta HOT 4
- Please add the github sponsorship. HOT 8
- License? HOT 3
- Get the link to that note via a hotkey (shift enter, option enter, etc.) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfred-bear.