You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2013/04/04 22:52:17 UTC
[jira] [Resolved] (LUCENE-4897) Add a sugar API for traversing
categories.
[ https://issues.apache.org/jira/browse/LUCENE-4897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Erera resolved LUCENE-4897.
--------------------------------
Resolution: Fixed
Fix Version/s: 4.3
5.0
Assignee: Shai Erera
Lucene Fields: New,Patch Available (was: New)
Committed to trunk and 4x.
> Add a sugar API for traversing categories.
> ------------------------------------------
>
> Key: LUCENE-4897
> URL: https://issues.apache.org/jira/browse/LUCENE-4897
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/facet
> Affects Versions: 4.2
> Reporter: crocket
> Assignee: Shai Erera
> Priority: Trivial
> Labels: newdev
> Fix For: 5.0, 4.3
>
> Attachments: LUCENE-4897.patch, LUCENE-4897.patch
>
>
> Mike McCandless said in lucene-java-user mailing list.
> "Maybe we could add some simple sugar APIs?
> Eg something like Collection<CategoryPath> getChildren(int parentOrd)?
> (Or maybe it returns Iterator<CategoryPath>?)"
> What about Collection<Integer> getChildren(int parentOrd)?
> Integer would be more versatile and can easily be converted to CategoryPath with TaxonomyReader.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