public void clear() {
        memoryIndex.reset();
        fieldStats.clear();
    }
Experimental class uses Lucene's MemoryIndex to effectively build the
token info.
tika-eval/tika-eval-core/src/test/java/org/apache/tika/eval/core/tokens/LuceneTokenCounter.java