1 Return-Path: <Sebastian@SSpaeth.de>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0A28F4196F2
\r
6 for <notmuch@notmuchmail.org>; Wed, 14 Apr 2010 00:51:16 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5
\r
12 tests=[BAYES_40=-0.001] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 8rCDXRgkYvvJ for <notmuch@notmuchmail.org>;
\r
16 Wed, 14 Apr 2010 00:51:15 -0700 (PDT)
\r
17 Received: from homiemail-a19.g.dreamhost.com (caiajhbdcahe.dreamhost.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id 64F44431FC1
\r
20 for <notmuch@notmuchmail.org>; Wed, 14 Apr 2010 00:51:15 -0700 (PDT)
\r
21 Received: from sspaeth.de (unknown [195.190.188.219])
\r
22 by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPA id 840A3604076;
\r
23 Wed, 14 Apr 2010 00:51:13 -0700 (PDT)
\r
24 Received: by sspaeth.de (sSMTP sendmail emulation);
\r
25 Wed, 14 Apr 2010 09:51:11 +0200
\r
26 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
\r
27 To: Jason White <jason@jasonjgw.net>, notmuch@notmuchmail.org
\r
28 Subject: Re: [PATCH] allow to not sort the search results
\r
29 In-Reply-To: <20100414065525.GA11770@jdc.jasonjgw.net>
\r
30 References: <1271226655-5672-1-git-send-email-Sebastian@SSpaeth.de>
\r
31 <20100414065525.GA11770@jdc.jasonjgw.net>
\r
32 Date: Wed, 14 Apr 2010 09:51:11 +0200
\r
33 Message-ID: <87hbnebhg0.fsf@SSpaeth.de>
\r
34 User-Agent: notmuch version 0.1-107-g553feae (Emacs
\r
35 23.1.1/x86_64-pc-linux-gnu)
\r
37 Content-Type: text/plain; charset=us-ascii
\r
38 X-BeenThere: notmuch@notmuchmail.org
\r
39 X-Mailman-Version: 2.1.13
\r
41 List-Id: "Use and development of the notmuch mail system."
\r
42 <notmuch.notmuchmail.org>
\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
44 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
46 List-Post: <mailto:notmuch@notmuchmail.org>
\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
50 X-List-Received-Date: Wed, 14 Apr 2010 07:51:16 -0000
\r
52 On 2010-04-14, Jason White wrote:
\r
53 > > Also add a --sort=unsorted command line option to notmuch search to test this.
\r
55 > Does this provide relevance-ranked search results? I think relevance ranking
\r
56 > is the Xapian default if a sort order isn't specified.
\r
58 Yes, by default it is using sort_by_relevance, so "unsorted" implies
\r
59 just that. (in fact, a previous incarnation of this patch called it
\r
62 However, given that many of our terms, are boolean, relevance only
\r
63 really comes into play when including terms within the body of a
\r
64 message. (and *I* have not found the relevance sorting to be much useful
\r
65 yet when I cared about some sort order, but that might just be me).
\r
67 > It would be useful to be able to obtain a relevance-ranked list of messages or
\r
68 > threads that satisfy a query.
\r
70 I would be happy to have it called --sort=relevance too, the unsorted
\r
71 points out potential performance improvements a bit better, IMHO
\r
72 (although they seem to be really small with a warm cache).
\r