Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 16742 invoked from network); 3 May 2010 17:24:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 May 2010 17:24:02 -0000 Received: (qmail 28151 invoked by uid 500); 3 May 2010 17:24:01 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 28101 invoked by uid 500); 3 May 2010 17:24:01 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 28094 invoked by uid 99); 3 May 2010 17:24:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 17:24:01 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.160.176] (HELO mail-gy0-f176.google.com) (209.85.160.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 17:23:55 +0000 Received: by gyf1 with SMTP id 1so1628458gyf.35 for ; Mon, 03 May 2010 10:23:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.115.6 with SMTP id s6mr9422509ybm.294.1272907413819; Mon, 03 May 2010 10:23:33 -0700 (PDT) Received: by 10.151.11.20 with HTTP; Mon, 3 May 2010 10:23:33 -0700 (PDT) In-Reply-To: <005901caeae4$c38225d0$4a867170$@de> References: <005901caeae4$c38225d0$4a867170$@de> Date: Mon, 3 May 2010 13:23:33 -0400 Message-ID: Subject: Re: BytesRef comparable From: Michael McCandless To: dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I think the tool would require you to specify which [numeric] fields need conversion? And maybe also for collated fields? Mike On Mon, May 3, 2010 at 1:19 PM, Uwe Schindler wrote: > We will provide it for 4.0 for the index order change and possibly to con= vert NumericFields to full-width byte[] (only problem: how to detect them w= ithout strange heuristics?)! > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: uwe@thetaphi.de > > >> -----Original Message----- >> From: Shai Erera [mailto:serera@gmail.com] >> Sent: Monday, May 03, 2010 6:09 PM >> To: dev@lucene.apache.org >> Subject: Re: BytesRef comparable >> >> Trunk matters here only if this changes within the same manor release. >> If sort order changes between 4.0 and 5.0, we'll needto provide and >> index migration tool or something, because such change does not >> justify reindexing. >> >> Shai >> >> On Monday, May 3, 2010, Michael McCandless >> wrote: >> > On Mon, May 3, 2010 at 10:37 AM, Yonik Seeley >> > wrote: >> >> On Mon, May 3, 2010 at 6:30 AM, Michael McCandless >> >> wrote: >> >>> But... we probably should do this after we switch to sorting terms >> by >> >>> unicode code point order? =A0(LUCENE-2426) >> >> >> >> So perhaps we should define this in terms of Lucene's default index >> >> order instead... so it could be UTF16 order for now, and switch to >> >> code-point / unsigned byte order when the index format does? >> > >> > This seems a bit dangerous (first sorts by UTF16 order and then by >> > codepoint order, when we switch)... ie, I'd rather make BytesRef >> > compare by code point order, after we've cutover to that order by >> > default. >> > >> > Though it is "trunk", so, we could do that I guess... (Erik: this is >> > what "unstable" means ;) ). >> > >> > Mike >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org >> > For additional commands, e-mail: dev-help@lucene.apache.org >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org >> For additional commands, e-mail: dev-help@lucene.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: dev-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org