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 AD4106DE01F2 for ; Mon, 29 Jan 2018 08:03:26 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.02 X-Spam-Level: X-Spam-Status: No, score=-0.02 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-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 5scRw31E12_r for ; Mon, 29 Jan 2018 08:03:21 -0800 (PST) Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by arlo.cworth.org (Postfix) with ESMTPS id 70F796DE01EF for ; Mon, 29 Jan 2018 08:03:21 -0800 (PST) Received: by mail-lf0-f49.google.com with SMTP id w27so10745314lfd.6 for ; Mon, 29 Jan 2018 08:03:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=dG0UPVRT4Y7MtELoulliL8wcybqTI3yXwP4sHUpgxVI=; b=zTwBpU8zKWla3SvOrh4/umtLM9NUaZq8VDFavFpkLaOfwaBiZmbZetAsFHrONdSE0B Xu+KSYljGxQDNZbJQo0gU9q1m0je7B78b9Cm9qyHfkqL1mMV181+ChHXUXTYYtVtAoV1 dPoXMw6ld0v86/y0dvZLbA82esG0h5+G1q1r/9xhwsNsTicsFqpVw8d+PeX3f9ebzhoW 6kXaDpzkowXUOOhDuQppJ58yHphdc8s3ZfJJeVe9X+uFEXwN2gfowyfcnezesZSKmsfW 4nr5IybAfLCL7ICtfXADNobNmcQtcd8A+IUd44L254JCYvfzrfYyntN2UhCUk3JOxuxl t2Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=dG0UPVRT4Y7MtELoulliL8wcybqTI3yXwP4sHUpgxVI=; b=qtl+ymlHGTYEb6lQNpjrvFI42k0l4S9HRcm4kYGdfHnPg3TMdz8usQkkBmxBWGoUEO dq2uA4vD0YNeLedp6Li9GwDoe4ZWv4ghPjh2H3INTA8fMRFUOWMXFiXFXLEg1hNXv7ay VXIfe6GQRujdGcGCiNq0yjg//cf8bQ2ivyYNW/QsQ12510S0zvgBWgPATZKXK3/MlSQX AtixFXFXoxNYLU2opIK2mHffIB1WAlAKPgt6v4p6ajur5EroJgct0TRvTQ8nYhjJyXF/ 1o7Dy0eMhJxuZnKbPQp4OQWLz1MeY5B4Yb1T/iNiBUBQMXKm1yHFirtZPeN6sADhFso/ 0aYw== X-Gm-Message-State: AKwxytf22pu2l4s/7jnpf9AcarQJ/SXUz0ch0sBqKMd8xNSchyqaJf3g KUSyT4oCjCISaCLPwYzpqsmh9A== X-Google-Smtp-Source: AH8x224QeTlLjiBlPn9XVebM3YAIUSoSH6n6yXdE62blYpH6xlSSCJTt26jciagkTsqCXxVq4p8Rmw== X-Received: by 10.46.87.93 with SMTP id r29mr644200ljd.93.1517241796765; Mon, 29 Jan 2018 08:03:16 -0800 (PST) Received: from localhost (37-33-95-55.bb.dnainternet.fi. [37.33.95.55]) by smtp.gmail.com with ESMTPSA id a129sm2939312lfa.0.2018.01.29.08.03.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2018 08:03:16 -0800 (PST) From: Jani Nikula To: Matthew Lear , notmuch@notmuchmail.org Subject: Re: trouble searching with unix timestamps In-Reply-To: References: Date: Mon, 29 Jan 2018 18:03:14 +0200 Message-ID: <874ln4zm7x.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.24 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, 29 Jan 2018 16:03:26 -0000 On Mon, 29 Jan 2018, Matthew Lear wrote: > Hi. I've noticed that I'm unable to notmuch search using date with unix > timestamps (ie number of seconds since Jan 1st 1970 UTC). I get a xapian > error. The notmuch man pages state that searching using > 'date:..' > where "each timestamp is a number representing the number of seconds since > 1970-01-01 00:00:00 UTC" is supported, so I'm wondering what's wrong with > my installation. The man page could use some clarification. The .. syntax predates the date: prefix, and needs to be given as-is: $ notmuch search 1517152333..1517238733 Alternatively, you can use @ in date: queries, although this seems to be completely undocumented: $ notmuch search date:@1517152333..@1517238733 HTH, Jani.