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 23C2DEEB3 for ; Thu, 21 Feb 2013 13:40:16 +0000 (UTC) Received: (qmail 20517 invoked by uid 500); 21 Feb 2013 13:40:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 20425 invoked by uid 500); 21 Feb 2013 13:40:13 -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 20391 invoked by uid 99); 21 Feb 2013 13:40:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 13:40:12 +0000 Date: Thu, 21 Feb 2013 13:40:12 +0000 (UTC) From: "Commit Tag Bot (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-4788) Out of date code examples MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4788?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D135= 83189#comment-13583189 ]=20 Commit Tag Bot commented on LUCENE-4788: ---------------------------------------- [branch_4x commit] Shai Erera http://svn.apache.org/viewvc?view=3Drevision&revision=3D1448634 LUCENE-4788: fix code example in jdoc =20 > Out of date code examples > ------------------------- > > Key: LUCENE-4788 > URL: https://issues.apache.org/jira/browse/LUCENE-4788 > Project: Lucene - Core > Issue Type: Bug > Components: modules/facet > Affects Versions: 4.1 > Reporter: Hao Zhong > Assignee: Shai Erera > Priority: Trivial > Fix For: 4.2, 5.0 > > > The following API documents have code examples: > http://lucene.apache.org/core/4_1_0/facet/org/apache/lucene/facet/index/O= rdinalMappingAtomicReader.html > http://lucene.apache.org/core/4_1_0/facet/org/apache/lucene/facet/index/O= rdinalMappingAtomicReader.html > "// merge the old taxonomy with the new one. > OrdinalMap map =3D DirectoryTaxonomyWriter.addTaxonomies();" > The two code examples call the DirectoryTaxonomyWriter.addTaxonomies meth= od. Lucene 3.5 has that method, according to its document: > http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/all/o= rg/apache/lucene/facet/taxonomy/directory/DirectoryTaxonomyWriter.html > However, lucene 4.1 does not have such a method, according to its documen= t=EF=BC=9A > http://lucene.apache.org/core/4_1_0/facet/org/apache/lucene/facet/taxonom= y/directory/DirectoryTaxonomyWriter.html > Please update the code examples to reflect the latest implementation. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs 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