Class LuceneIndexHistogramCreator
- java.lang.Object
-
- org.aksw.palmetto.corpus.lucene.creation.LuceneIndexHistogramCreator
-
public class LuceneIndexHistogramCreator extends Object
A simple class that iterates over a given Lucene index and creates a histogram of the document lengths stored inside a documentLengthField.- Author:
- Michael Röder (roeder@informatik.uni-leipzig.de)
-
-
Field Summary
Fields Modifier and Type Field Description private StringdocLengthFieldNameprivate static org.slf4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description LuceneIndexHistogramCreator(String docLengthFieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int[][]createHistogram(String indexPath)voidcreateLuceneIndexHistogram(String indexPath)voidstoreHistogram(int[][] histogram, String filename)
-