Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 87232 invoked from network); 11 Jun 2009 00:03:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jun 2009 00:03:27 -0000 Received: (qmail 11947 invoked by uid 500); 11 Jun 2009 00:03:38 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 11872 invoked by uid 500); 11 Jun 2009 00:03:38 -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 11863 invoked by uid 99); 11 Jun 2009 00:03:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 00:03:38 +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; Thu, 11 Jun 2009 00:03:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6CCEE234C051 for ; Wed, 10 Jun 2009 17:03:07 -0700 (PDT) Message-ID: <513087406.1244678587444.JavaMail.jira@brutus> Date: Wed, 10 Jun 2009 17:03:07 -0700 (PDT) From: "Michael McCandless (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1592) fix or deprecate TermsEnum.skipTo In-Reply-To: <800270903.1239266713048.JavaMail.jira@brutus> 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-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718257#action_12718257 ] Michael McCandless commented on LUCENE-1592: -------------------------------------------- OK, excellent -- can you commit that? > fix or deprecate TermsEnum.skipTo > --------------------------------- > > Key: LUCENE-1592 > URL: https://issues.apache.org/jira/browse/LUCENE-1592 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Reporter: Michael McCandless > Priority: Minor > > This method is a trap: it looks legitimate but it has hideously poor performance (simple linear scan implemented in the TermsEnum base class since none of the concrete impls override it with a more efficient implementation). > The least we should do for 2.9 is deprecate the method with a strong warning about its performance. > See here for background: http://www.lucidimagination.com/search/document/77dc4f8e893d3cf3/possible_terminfosreader_speedup > And, here for historical context: > http://www.lucidimagination.com/search/document/88f1b95b404ebf16/remove_termenum_skipto_term_target -- 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