Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8862114A5 for ; Tue, 12 Aug 2014 14:24:48 +0000 (UTC) Received: (qmail 30613 invoked by uid 500); 12 Aug 2014 14:24:48 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 30553 invoked by uid 500); 12 Aug 2014 14:24:48 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 30542 invoked by uid 99); 12 Aug 2014 14:24:48 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 14:24:48 +0000 Received: from localhost (HELO [10.136.170.163]) (127.0.0.1) (smtp-auth username davide, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Aug 2014 14:24:48 +0000 Message-ID: <53EA23AD.4010504@apache.org> Date: Tue, 12 Aug 2014 16:24:45 +0200 From: Davide Giannella User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: oak-dev@jackrabbit.apache.org Subject: Re: Speeding-up the OrderedIndex References: <53E34552.9070005@apache.org> <53E474DD.9000608@apache.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/08/2014 21:07, Justin Edelson wrote: > In my experience, you would use minute precision for range queries and > second precision for ordering. So I guess this means that second > precision would be the best default and then allowing minute precision > to be used as an optimization for an index which you knew was only > going to be used for selection purposes (or ms for other cases where > you needed more precise ordering / data selection). Justin thanks Justin. https://issues.apache.org/jira/browse/OAK-2028 for the records :) D.