Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABBA092C4 for ; Tue, 6 Mar 2012 14:29:20 +0000 (UTC) Received: (qmail 92753 invoked by uid 500); 6 Mar 2012 14:29:19 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 92696 invoked by uid 500); 6 Mar 2012 14:29:19 -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 92689 invoked by uid 99); 6 Mar 2012 14:29:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 14:29:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2012 14:29:18 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2C328BFCD for ; Tue, 6 Mar 2012 14:28:58 +0000 (UTC) Date: Tue, 6 Mar 2012 14:28:58 +0000 (UTC) From: "Benson Margulies (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1581884414.27479.1331044138182.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1245703354.27426.1331042698420.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3853) Improve MIGRATE.txt for FieldsEnum/TermsEnum 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-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223276#comment-13223276 ] Benson Margulies commented on LUCENE-3853: ------------------------------------------ So, the explanation below what I patchd that I failed to read the first time sort-of endorses Multi-Field. I happen to be updating code of someone else's that want to walk all of the fields, which is how I ran into this. One possibility is to change the comment I added to say 'this is not the recommended way, read below for more information on this' and then focus effort on howto and examples instead of MIGRATION/CHANGE, rather than making the little Migratin example bigger and bigger? Where in the tree do you generally put examples? > Improve MIGRATE.txt for FieldsEnum/TermsEnum > -------------------------------------------- > > Key: LUCENE-3853 > URL: https://issues.apache.org/jira/browse/LUCENE-3853 > Project: Lucene - Java > Issue Type: Bug > Components: core/other > Affects Versions: 4.0 > Reporter: Benson Margulies > Attachments: LUCENE-3853.patch > > > The text in MIGRATE.txt that explains the new situation with FieldsEnum seems to be missing a level of object in explaining TermEnum. Perhaps it didn't keep with the code. here's a patch to MIGRATE.txt. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org