Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 58694 invoked from network); 15 Jun 2009 19:45:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 19:45:06 -0000 Received: (qmail 32020 invoked by uid 500); 15 Jun 2009 19:45:17 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 31946 invoked by uid 500); 15 Jun 2009 19:45:16 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 31938 invoked by uid 99); 15 Jun 2009 19:45:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 19:45:16 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [85.25.71.29] (HELO mail.troja.net) (85.25.71.29) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 19:45:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id 3DA0145E626; Mon, 15 Jun 2009 21:44:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.troja.net Received: from mail.troja.net ([127.0.0.1]) by localhost (megaira.troja.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DcS9yAWe08eG; Mon, 15 Jun 2009 21:44:41 +0200 (CEST) Received: from VEGA (port-83-236-62-13.dynamic.qsc.de [83.236.62.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTPSA id C4F1445E60C; Mon, 15 Jun 2009 21:44:40 +0200 (CEST) From: "Uwe Schindler" To: , References: <85d3c3b60906091932i591ef6f4gcc950586b15d4506@mail.gmail.com> <9ac0c6aa0906120920y2b187a75x9a3be9b41b88e9b7@mail.gmail.com> <1B6771E9-0F2A-44A3-AF69-21BDBD2E1319@apache.org> <9ac0c6aa0906130558v28074b43q61ebd0104538f7a9@mail.gmail.com> <4A34614C.7000004@gmail.com> <3276E8A9-84A5-415A-A25A-39EDB39DFC38@apache.org> <4A35902C.8010201@gmail.com> <98CC1DB6-BD5D-427E-AED5-2645F7772AB8@apache.org> <48AD01B34BE04EC095539453018D1A1A@VEGA> Subject: RE: New Token API was Re: Payloads and TrieRangeQuery Date: Mon, 15 Jun 2009 21:44:38 +0200 Message-ID: <1FE1CD5D213A44F29A86EB297C706171@VEGA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acnt7oQJpwCW0ZLITIiLh5KtUUtK/QAAumwQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Checked: Checked by ClamAV on apache.org > If you understood that, you'd be able to look > at the actual token value if you were interested in what shift was > used. So it's redundant, has a runtime cost, it's not currently used > anywhere, and it's not useful to fields other than Trie. Perhaps it > shouldn't exist (yet)? You are right, you could also decode the shift value from the first char of the token... I think, I will remove the ShiftAttribute and only set the TermType to highest, lower precisions. By this, one could easily add a payload to the real numeric value using a TokenFilter. Uwe --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org