Search used to be very simple in Corkboardr. You typed something into the search box and Corkboardr looked for it. The problem was that if I had a note called cat and searched for catt, it would confidently tell me there was nothing there. I thought that was stupid, but I also kind of assumed that was just how search worked because that's basically how it works on every website that isn't Google.
The more I used Corkboardr, the less sense that made. If I know exactly what I'm looking for, why am I searching for it?
I lost a picture of my own dog
At one point I was testing what happened when a board had a lot of images spread really far apart. Normally my boards start with a cluster around the starting position, then things spread out and get sparser as I add more, and eventually get dense again somewhere else. I wanted to know what would happen if I ignored all of that, panned over to completely blank space and just started dropping notes.
This was before you could drag an image directly onto the board. Adding one image meant clicking + Note, choosing Image, clicking the image note, opening the file picker and then choosing the file. I did that over and over while flicking through random places in a folder full of photos from my DSLR. I wasn't choosing anything carefully. I was just trying to make the board annoying.
One of the random images happened to be a picture of my dog. It looked really good on the board, except the composition was slightly off. I could've gone back through the folder, found the original, cropped it somewhere else and uploaded it again. Instead I decided it would obviously be easier and faster to add cropping to Corkboardr.
So a few hours later I had added double-click-to-crop, and then had to find the damn picture again.
There were something like 180 images scattered around a board I'd intentionally made difficult to navigate. It took about five minutes of panning before I found it. That annoyance eventually led to image search, and it also made me add an option for boards to reopen where you'd left them instead of always throwing you back at the starting position.
Then I fixed search and realized I hadn't fixed search
The first version of search was dumb enough that searching apartm wouldn't find apartment. The newer version was much better at finding similar things, so for a while I thought I'd solved the problem.
Then maybe two months later I realized that something like teh could still make Corkboardr act like it had no idea you meant the.
That was somehow more annoying than the original search. If search is terrible, you expect it to be terrible. If it can do all kinds of smarter things but suddenly decides apartmnt couldn't possibly mean apartment, now it's just being difficult.
So I added another layer for misspellings. This is basically Corkboardr development: I find something that seems obvious, get annoyed, and try to make it less dumb.
Sometimes I don't remember the words
The dog picture made me realize there was a bigger problem than spelling. Sometimes there aren't any useful words to search in the first place. Sometimes I remember what I meant without remembering any of the words I used.
If I drop a picture of my dog onto a board and never give it a useful title, searching note titles won't help me six months later. I might remember that it was a brown dog, that it was sitting on a couch, or just roughly what the picture looked like. That should be enough.
The same thing happens with screenshots, receipts and documents. I might not remember what I named a screenshot or which board I put it on, but I might remember an error message, a gate number, a price or one other random piece of text inside it. Corkboardr can make an attempt at all of those things now.
There are several different systems underneath the search box doing different parts of the job. The user shouldn't need to know or care about any of them. If somebody actually cares, you can email me and I'll tell you all of my trade secrets. The important part is that you type whatever you happen to remember and Corkboardr makes a reasonable attempt at finding the thing.
Sometimes I know where it is and just don't feel like going there
Outside of testing I don't actually use search that often. The way I lay out my boards means I usually remember where something is, and I tend to leave enough surrounding information that I can remember what it was for and why I put it there.
Search is mostly my last resort, but that's not the only reason I use it. Sometimes I know exactly where something is and I just don't feel like panning across the board to get there. Sometimes I know what I'm looking for but can't remember which board it's on.
If you're now thinking is that why Corkboardr has Board Search and Everything Search? Yes. Originally there wasn't a distinction, which meant searching for something like BUGS could give me a pile of notes called BUGS from a bunch of different boards when I only wanted the one on the board I was already looking at. Splitting them turned out to be much simpler than trying to make one search box constantly guess what I meant.
Board Search means find it around here. Everything Search means I know I put this somewhere.
Search should just work™
Everything Corkboardr does for search happens locally. I'd love to tell you this started with some deeply held philosophical position about privacy, but mostly I'm just broke. Sending everybody's searches and files through ChatGPClaude costs money. Small models running on your own computer don't.
Respecting your privacy is honestly just a (good) side effect. Corkboardr doesn't need to upload your boards somewhere just so you can find something you already own. The tradeoff is that small local models aren't magic. Semantic search is probably the weakest part of Corkboardr search right now, and you still have to be more specific than I'd like sometimes.
The useful part is that it isn't doing the job alone. Normal text search, fuzzy matching, misspelling tolerance, image search and text found inside images all cover for each other's weaknesses. So far I haven't found a situation where I knew something was in Corkboardr and ultimately couldn't find it, though there's still plenty I want to improve.
Building search has also made me much more critical of everybody else's search. If I go to a clothing website, type a specific brand followed by pants, and the first ten results aren't pants from that brand, what are we doing? I shouldn't have to leave your website, go to Google and search for the exact same thing with your site name added to the end. Your search box is already there. Find it.
This is the standard I have for Corkboardr now. Search is a boring feature and I think that's how it should be. It should stay out of the way until the moment I need it, then make a good attempt at figuring out what I meant.
You shouldn't have to learn how to use search. Search should have to learn you.