Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 56695 invoked from network); 9 Apr 2010 14:04:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 14:04:15 -0000 Received: (qmail 39716 invoked by uid 500); 9 Apr 2010 14:04:14 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 39678 invoked by uid 500); 9 Apr 2010 14:04:14 -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 39669 invoked by uid 99); 9 Apr 2010 14:04:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 14:04:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 14:04:12 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 02BC1234C052 for ; Fri, 9 Apr 2010 14:03:51 +0000 (UTC) Message-ID: <2800521.7411270821830995.JavaMail.jira@brutus.apache.org> Date: Fri, 9 Apr 2010 14:03:50 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-2372) Replace deprecated TermAttribute by new CharTermAttribute In-Reply-To: <403090067.26781270590093962.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2372: ---------------------------------- Attachment: LUCENE-2372.patch Patch that removes deprecated usage of TermAttribute from Lucene Core completely, all tests also fixed. > Replace deprecated TermAttribute by new CharTermAttribute > --------------------------------------------------------- > > Key: LUCENE-2372 > URL: https://issues.apache.org/jira/browse/LUCENE-2372 > Project: Lucene - Java > Issue Type: Improvement > Affects Versions: 3.1 > Reporter: Uwe Schindler > Fix For: 3.1 > > Attachments: LUCENE-2372.patch, LUCENE-2372.patch > > > After LUCENE-2302 is merged to trunk with flex, we need to carry over all tokenizers and consumers of the TokenStreams to the new CharTermAttribute. > We should also think about adding a AttributeFactory that creates a subclass of CharTermAttributeImpl that returns collation keys in toBytesRef() accessor. CollationKeyFilter is then obsolete, instead you can simply convert every TokenStream to indexing only CollationKeys by changing the attribute implementation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org