public class CompletionFieldStats
extends java.lang.Object
Constructor and Description |
---|
CompletionFieldStats() |
Modifier and Type | Method and Description |
---|---|
static CompletionStats |
completionStats(org.apache.lucene.index.IndexReader indexReader,
java.lang.String... fieldNamePatterns)
Returns total in-heap bytes used by all suggesters.
|
public static CompletionStats completionStats(org.apache.lucene.index.IndexReader indexReader, java.lang.String... fieldNamePatterns)
O(numIndexedFields)
.fieldNamePatterns
- if non-null, any completion field name matching any of these patterns will break out its in-heap bytes
separately in the returned CompletionStats