Hacker News new | ask | show | jobs
by elsigh 3725 days ago
> Nothing to envy from Gmail.

I switched because of search, which is amazing in gmail and hard in mutt (for me). What do you do?

5 comments

> search amazing in gmail.

really? until a few months ago, you couldn't find anything besides whole words with textual search on gmail. why do people have it's search at such high standards? how bad was the alternative you had?

It's funny, i have been frustrated since day 1 which gmails search. Granted, it could very likely be user error - as i often forget the set of keywords that might lead me to the email i desire, but regardless i as a user am left frustrated.

Since someone may ask, my desires are simple in nature, but i'm sure difficult to implement. I simply want to find an email. On the Google Search side of things, i have often been very impressed by the search results i am able to achieve. Yet for email, it's been far less successful.

On Search, i'm able to use synonyms, or hell even vaguely describe (in the case of movies) plots, and often be presented with what i want. On Gmail, it feels like Gmail has no idea about the context or content of my mail (which is arguably their selling point), and instead i'm purely searching by keyword. The frustration is amplified by the fact that Search(proper) works so surprisingly well, i'm sure.

Search has the benefit of all they data they have from the millions of other users who searched the same term and clicked certain results. It also has the backing of Pagerank. Your email is unique to you and doesn't have any of these advantages.
What are you talking about? What have you've been missing?

Senders name or email? That has always been an option. Has attachments? Been an option since forever. tags? Since forever. date? Available since forever.

Not OP, but here's something I miss in Gmail search all the time-- ability to target a search at a particular directory and its sub-directories.

Suppose, for example, I have set up a subdir for conferences. That subdir contains a bunch of subdirectories for individual conferences. I know the e-mail I'm looking for is stored in there, because it relates to a conference publication I wrote. However, that subdir itself is "empty" as far as gmail search is concerned (because it's a "tag" rather than a true subdirectory).

The net effect of these hollow imitations of directories is I can either target the search to a specific tag, or I can search throughout my entire collection of messages. (Or, I suppose, I can tag every e-mail with every single sub-tag represented in the directory hierarchy I have mentally set up, just in case I might want to search for it someday.)

The gmail ideal, of course, is that I abandon the notion of directories altogether, and just let all my messages stew in the ocean of e-mail that one accumulates over the years. Supposedly their "powerful" search capabilities will help me find what I want. In my experience, though, under this approach most reasonable searches produce multiple pages of possible matches. This, of course, is hardly efficient.

It would also be nice if I could perform a search and then pull out that page of returned results into a separate screen/window for ongoing reference. Often when I'm searching for something, I'm looking broadly for resources or related conversations, rather than for a specific message.

Another place where I feel gmail search is brain-dead is its lack of regex capability (which @devdas has already mentioned).

Check again - gmail supports nested labels. exactly same as directory/subdirectories.

Separate screen of search results is just another tab in your browser - that's actually a vote in favor of web based gmail.

Yes, it supports nested tags, and the tags create structure that suggests directory nesting. However, as far as I can tell the search can't be made to honor the nesting.

To make my example explicit above, suppose I have a "directory" structure with dirs like `conf`, `conf/iaq2016`, and `conf/gmu2012`. Then a search in `conf` will not turn up results in `conf/iaq2016` or `conf/gmu2012`.

Believe me, I check this once every few months, always hoping that google will have improved their "tag" implementation.

I do appreciate your tip about multiple browser windows, though. In general, I don't like having multiple windows open to the same application-- but that's my problem, and not a design flaw in Gmail's search.

Yup. Nested labels like "top/med/bot" get flattened to "top-med-bot" for search, e.g. in:top-med-bot keyword
Regexp.
RIP Google Code Search :(

For reference, you used to be able to do this - https://code.google.com/p/chromium/codesearch - with an archived cross-section of code on the Web.

I wonder if we'll ever be able to do regex Google searches in the future, or if AI/machine learning will make that sort of flexibility redundant by the time the hardware would be able to handle it.

FWIW codesearch's spirit lives on with debian code search (https://codesearch.debian.net/) which allows you to do the same as codesearch, except for Debian only. Checkout also the thesis behind (https://codesearch.debian.net/research/bsc-thesis.pdf) that explains a lot about the challenges and the architecture.
It's cool to hate on Google though I thought?

But seriously, all these hard core unix fans seem a little odd here. Gmail search has always been powerful, and is even more powerful now. It sounds like a case of user error if it isn't working for someone.

I'm not sure what you mean here - I've searched in email for years with gmail - and it's basically always been flawless. Search on From:, To:, Subject, Date, etc... - in addition to searching for content in the body.

I'm curious, what other search does one do in email?

The search I have the most trouble with is searching for things that match a label and are in my inbox. GMail will consistently miss messages. I don't know what it is about them, but I imagine it's some indexing bug. I can go to my inbox, click through the first several pages of messages, and see that a message is there, and has my label. I can go to my label, and find it there too. But a search for 'label:foo in:inbox' will come up empty.
I use notmuch. It's really powerful and quick. You get all Gmail features, plus some more.

There's also mutt-kz, with notmuch deeply integrated.

I use `notmuch` for searching local mail. It's pretty powerful and blazing fast.
I use mairix, which is very old but still does the job.
grepmail

zcat Mail/2015/mbox.gz | grepmail -i whatever | grepmail 'perl.style.*regex' >myresults

mutt -f myresults