Re: [PATCH] allow to not sort the search results

Subject: Re: [PATCH] allow to not sort the search results

Date: Wed, 21 Apr 2010 16:09:52 -0700

To: Sebastian Spaeth, Olly Betts, notmuch@notmuchmail.org

Cc:

From: Carl Worth


On Sun, 18 Apr 2010 15:56:58 +0200, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
> > The patches do:
> > 1: Introduce NOTMUCH_SORT_UNSORTED
> > 2: Introduce notmuch search --sort=unsorted
> > 3: Make notmuch tag not sort results by date
> > 
> > #2 is the one I am least sure about, I don't know if there is a use case
> > for notmuch search returning unsorted results. But 1 & 3 are useful at
> > least.
...
> May I advocate patches 1 & 3 for inclusion in 0.3? I've been using this
> in my tree without problems. patch 2 is left to your judgement as to
> whether a "--sort=unsorted" is useful for notmuch search. (it will
> probably rather benefit from a --sort=relevance, I guess).

Done.

I've pushed out 1 & 3 now. I can't find any use case where
--sort=unsorted is interesting for "notmuch search".

If people want to start playing with --sort=relevance then that could be
very interesting. (For me, and for almost all email searches I do, I
almost always want date-based sorting. But if I start having trouble
finding things with particular queries, I might want to play with the
relevance-based stuff.)

-Carl
part-000.sig (application/pgp-signature)

Thread: