lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4788) Out of date code examples
Date Thu, 21 Feb 2013 13:28:13 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shai Erera resolved LUCENE-4788.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.2

Committed to 4.2 and trunk.

Thanks Hao Zhong!
                
> 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/OrdinalMappingAtomicReader.html
> http://lucene.apache.org/core/4_1_0/facet/org/apache/lucene/facet/index/OrdinalMappingAtomicReader.html
> "// merge the old taxonomy with the new one.
>  OrdinalMap map = DirectoryTaxonomyWriter.addTaxonomies();"
> The two code examples call the DirectoryTaxonomyWriter.addTaxonomies method. Lucene 3.5
has that method, according to its document:
> http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/all/org/apache/lucene/facet/taxonomy/directory/DirectoryTaxonomyWriter.html
> However, lucene 4.1 does not have such a method, according to its document´╝Ü
> http://lucene.apache.org/core/4_1_0/facet/org/apache/lucene/facet/taxonomy/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 administrators
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


Mime
View raw message