Lucene Snippets: Index Stats
Saturday, September 8th, 2012In Lucene 4.x there is an API to fetch index statistics for specific document’s fields.
The following examples shows how to create an index with some random documents and fetch some statistics for a field afterwards ..