[
https://issues.apache.org/jira/browse/LUCENE-4703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558841#comment-13558841
]
Shai Erera commented on LUCENE-4703:
------------------------------------
Hmm ... just a crazy idea ... what if TaxoReader had a getStats() method which
returned you a tree-like structure? Something like:
{code}
/** Returns a tree-like structure of the taxonomy with statistics such as
* number of immediate children and number of categories overall.
*/
public TaxonomyNode getStats() throws IOException;
{code}
Then TaoxnomyNode denotes the root, and contains members like "label",
"numCategories" and "children", which is a List<TaxonomyNode> ...
> Add basic tool to print some summary stats about your taxonomy index
> --------------------------------------------------------------------
>
> Key: LUCENE-4703
> URL: https://issues.apache.org/jira/browse/LUCENE-4703
> Project: Lucene - Core
> Issue Type: Improvement
> Components: modules/facet
> Reporter: Michael McCandless
> Attachments: LUCENE-4703.patch
>
>
> I built a Wikipedia index w/ 9 dimensions but I don't know how many ords each
> child contributes / how many immediate children under each dim / etc.
--
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: [email protected]
For additional commands, e-mail: [email protected]