[PATCH] allow to not sort the search results

Carl Worth cworth at cworth.org
Wed Apr 21 16:09:52 PDT 2010


On Sun, 18 Apr 2010 15:56:58 +0200, "Sebastian Spaeth" <Sebastian at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100421/61e18850/attachment.pgp>


More information about the notmuch mailing list