Re: [PATCH] allow to not sort the search results
[notmuch-archives.git] / 21 / 7cf16a947bb29a26e936e441fee2650fe03c42
1 Return-Path: <jason@jasonjgw.net>\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 3E36C4196F2\r
6         for <notmuch@notmuchmail.org>; Tue, 13 Apr 2010 23:55:38 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,\r
12         DKIM_SIGNED=0.1, DKIM_VALID=-0.1,       DKIM_VALID_AU=-0.1] 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 KttbMaPu8V7Z for <notmuch@notmuchmail.org>;\r
16         Tue, 13 Apr 2010 23:55:37 -0700 (PDT)\r
17 Received: from opera.rednote.net (opera.rednote.net [208.111.39.221])\r
18         by olra.theworths.org (Postfix) with ESMTP id 415A9431FC1\r
19         for <notmuch@notmuchmail.org>; Tue, 13 Apr 2010 23:55:37 -0700 (PDT)\r
20 Received: from jdc.jasonjgw.net (localhost [IPv6:::1])\r
21         by opera.rednote.net (8.14.3/8.14.3) with ESMTP id o3E6tXTZ018694\r
22         (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)\r
23         for <notmuch@notmuchmail.org>; Wed, 14 Apr 2010 06:55:35 GMT\r
24 Received: by jdc.jasonjgw.net (Postfix, from userid 1000)\r
25         id 9F9C318111C61; Wed, 14 Apr 2010 16:55:25 +1000 (EST)\r
26 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jasonjgw.net; s=mail;\r
27         t=1271228125; bh=Kgu/S7eN8B/CNgaJPxqWEe8XXueHYzX6/ogeRUm98KU=;\r
28         h=Date:From:To:Subject:Message-ID:References:MIME-Version:\r
29         Content-Type:In-Reply-To;\r
30         b=KAEMDF31+l2qL2mXeLfD2MNxc8euYrfkvUcjDlXSybRKrFUQGOFEQh/tqkPflnDk5\r
31         nsifLmhKwSdnkuWW8z2PleW81KywTgpo6iNxClaZQ12yRfP8vhcLPOUB5uSfzqpAv3\r
32         CHa3wAX2COgQad9QSrRwkEyXQxFhHtInJWIEFS3Y=\r
33 Date: Wed, 14 Apr 2010 16:55:25 +1000\r
34 From: Jason White <jason@jasonjgw.net>\r
35 To: notmuch@notmuchmail.org\r
36 Subject: Re: [PATCH] allow to not sort the search results\r
37 Message-ID: <20100414065525.GA11770@jdc.jasonjgw.net>\r
38 References: <1271226655-5672-1-git-send-email-Sebastian@SSpaeth.de>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 Content-Disposition: inline\r
42 In-Reply-To: <1271226655-5672-1-git-send-email-Sebastian@SSpaeth.de>\r
43 User-Agent: Mutt/1.5.20 (2009-06-14)\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Wed, 14 Apr 2010 06:55:38 -0000\r
57 \r
58 Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:\r
59 > previously we were always sorting the returned results by some string value,\r
60 > but sometimes we might just be interested in the number of results, and don't\r
61 > need any sorting.\r
62\r
63 > Also add a --sort=unsorted command line option to notmuch search to test this.\r
64 \r
65 Does this provide relevance-ranked search results? I think relevance ranking\r
66 is the Xapian default if a sort order isn't specified. \r
67 \r
68 It would be useful to be able to obtain a relevance-ranked list of messages or\r
69 threads that satisfy a query.\r
70 \r