lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: How do I retrieve a list of child categories for a category?
Date Mon, 01 Apr 2013 19:53:42 GMT
On Mon, Apr 1, 2013 at 1:04 AM, crocket <crockabiscuit@gmail.com> wrote:
> Well, I can understand the code easily, but it could have been very
> difficult to find out without you since it is not explained in facet user
> guide and I couldn't imagine TaxonomyReader was the key to this process.
>
> It would have been a lot better if there had been a higher level API for
> retrieving or traversing child categories.
>
> What do you like to do regarding this?

Maybe we could add some simple sugar APIs?

Eg something like Collection<CategoryPath> getChildren(int parentOrd)?
 (Or maybe it returns Iterator<CategoryPath>?)

Mike McCandless

http://blog.mikemccandless.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message