From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 0E8DE6DE0C97 for ; Mon, 4 Sep 2017 08:30:31 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.012 X-Spam-Level: X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5 tests=[AWL=0.097, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FSL_HELO_NON_FQDN_1=0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MXVSN436Mcmi for ; Mon, 4 Sep 2017 08:30:26 -0700 (PDT) Received: from charon (jb55.com [45.79.91.128]) by arlo.cworth.org (Postfix) with ESMTPS id 80B7E6DE0C5F for ; Mon, 4 Sep 2017 08:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d= jb55.com; h=from:to:subject:date:message-id; s=default; bh=JBgiHg+7wdqYpyTazPyAnFgGww6f5aygmxdPC4xd05o=; b=loeMwBvLg9aUGQXGJEJfjUXm7z8tJVvo7D6zS/ZA0QRi/ebJIxoo8hvGNfpEdbB4RNb1LpSJbwq9xRJKzqU0J6Muu/J6ZhKHEcj1T9D2mOGTGsAYFt0XSPBfOmoUrk33BG8w3IQLjASXf6k1Y6iJoB4RInIGQ1bZr2M9gV994xToVdWYraVPkK/JAPd1f+/JHtz3qKFF+if4w8FOPl5RNzBgZHjX8Z6Z4LWERe4MorCXqiS4tSqNBVn7ZkYF71e2UKW7nmSxhdYP/MF8Dni9tCwDUDpTYI7jvT05VvbukvRes6dEerp6ibuYlk0amjg0nhIA8/Xw2GqtGosW/5XkjA== Received: from jb55.com (70-36-49-138.dyn.novuscom.net [70.36.49.138]) by jb55.com (OpenSMTPD) with ESMTPSA id f9428c4f TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Mon, 4 Sep 2017 15:30:25 +0000 (UTC) From: William Casarin To: David Bremner , notmuch@notmuchmail.org, notmuch@freelists.org Subject: Re: notmuch-search: sort by subject or author? In-Reply-To: <87h8wiy3fr.fsf@tethera.net> References: <87a82aip0d.fsf@jb55.com> <87h8wiy3fr.fsf@tethera.net> Date: Mon, 04 Sep 2017 08:30:24 -0700 Message-ID: <871snmiir3.fsf@jb55.com> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Mon, 04 Sep 2017 15:30:31 -0000 David Bremner writes: > I think it's not really possible at the moment. If you want this to work > with large searches then it probably needs to be done at the CLI level > (see [1] for work in progress adding sorting by file size). > > Luckily 'From' and 'Subject' are already value slots in the database, > which means that nothing should have to change in the database to add > those sort orders (i.e. it should be less work than [1]). > > [1] id:20170518222708.30032-1-adi@adirat.com I have a patch that is working, I'll send it over soon. Thanks! - William -- https://jb55.com