Quantcast
Channel: hasCode.com
Viewing all articles
Browse latest Browse all 92

Lucene Snippets: Index Stats

$
0
0
In 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 .. Lucene Dependencies Just one dependency needed here  .. lucene-core. I’ve added the declarations needed for Maven and SBT [...]

Viewing all articles
Browse latest Browse all 92

Trending Articles