Package org.apache.lucene.facet.taxonomy
Class PrintTaxonomyStats
- java.lang.Object
-
- org.apache.lucene.facet.taxonomy.PrintTaxonomyStats
-
public class PrintTaxonomyStats extends java.lang.Object
Prints how many ords are under each dimension.
-
-
Constructor Summary
Constructors Constructor Description PrintTaxonomyStats()
Sole constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Command-line tool.static void
printStats(TaxonomyReader r, java.io.PrintStream out, boolean printTree)
Recursively prints stats for all ordinals.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
Command-line tool.- Throws:
java.io.IOException
-
printStats
public static void printStats(TaxonomyReader r, java.io.PrintStream out, boolean printTree) throws java.io.IOException
Recursively prints stats for all ordinals.- Throws:
java.io.IOException
-
-