You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2013/01/27 13:05:15 UTC
[jira] [Updated] (LUCENE-4724) TaxonomyReader drops empty string
component from CategoryPath
[ https://issues.apache.org/jira/browse/LUCENE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael McCandless updated LUCENE-4724:
---------------------------------------
Attachment: LUCENE-4724.patch
Test case showing the issue ...
> TaxonomyReader drops empty string component from CategoryPath
> -------------------------------------------------------------
>
> Key: LUCENE-4724
> URL: https://issues.apache.org/jira/browse/LUCENE-4724
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/facet
> Reporter: Michael McCandless
> Fix For: 4.2, 5.0
>
> Attachments: LUCENE-4724.patch
>
>
> I ran the new PrintTaxonomyStats on a Wikipedia facets index, and it hit an AIOOBE because there was a child of the /categories path that had only one component ... this was created because I had added new CategoryPath("categories", "") during indexing.
> I think TaxoReader should preserve and return that empty string from .getPath?
--
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