Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 3E36C4196F2 for ; Tue, 13 Apr 2010 23:55:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.7 X-Spam-Level: X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KttbMaPu8V7Z for ; Tue, 13 Apr 2010 23:55:37 -0700 (PDT) Received: from opera.rednote.net (opera.rednote.net [208.111.39.221]) by olra.theworths.org (Postfix) with ESMTP id 415A9431FC1 for ; Tue, 13 Apr 2010 23:55:37 -0700 (PDT) Received: from jdc.jasonjgw.net (localhost [IPv6:::1]) by opera.rednote.net (8.14.3/8.14.3) with ESMTP id o3E6tXTZ018694 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 14 Apr 2010 06:55:35 GMT Received: by jdc.jasonjgw.net (Postfix, from userid 1000) id 9F9C318111C61; Wed, 14 Apr 2010 16:55:25 +1000 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=jasonjgw.net; s=mail; t=1271228125; bh=Kgu/S7eN8B/CNgaJPxqWEe8XXueHYzX6/ogeRUm98KU=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=KAEMDF31+l2qL2mXeLfD2MNxc8euYrfkvUcjDlXSybRKrFUQGOFEQh/tqkPflnDk5 nsifLmhKwSdnkuWW8z2PleW81KywTgpo6iNxClaZQ12yRfP8vhcLPOUB5uSfzqpAv3 CHa3wAX2COgQad9QSrRwkEyXQxFhHtInJWIEFS3Y= Date: Wed, 14 Apr 2010 16:55:25 +1000 From: Jason White To: notmuch@notmuchmail.org Subject: Re: [PATCH] allow to not sort the search results Message-ID: <20100414065525.GA11770@jdc.jasonjgw.net> References: <1271226655-5672-1-git-send-email-Sebastian@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1271226655-5672-1-git-send-email-Sebastian@SSpaeth.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 06:55:38 -0000 Sebastian Spaeth wrote: > previously we were always sorting the returned results by some string value, > but sometimes we might just be interested in the number of results, and don't > need any sorting. > > Also add a --sort=unsorted command line option to notmuch search to test this. Does this provide relevance-ranked search results? I think relevance ranking is the Xapian default if a sort order isn't specified. It would be useful to be able to obtain a relevance-ranked list of messages or threads that satisfy a query.