| Constructor and Description |
|---|
CachedTermInfo(org.apache.lucene.index.IndexReader reader,
String field,
int minDf,
int maxDfPercent) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<TermEntry> |
getAllEntries() |
TermEntry |
getTermEntry(String field,
String term) |
int |
totalTerms(String field) |
public CachedTermInfo(org.apache.lucene.index.IndexReader reader,
String field,
int minDf,
int maxDfPercent)
throws IOException
IOExceptionpublic int totalTerms(String field)
totalTerms in interface TermInfopublic TermEntry getTermEntry(String field, String term)
getTermEntry in interface TermInfopublic Iterator<TermEntry> getAllEntries()
getAllEntries in interface TermInfoCopyright © 2008–2013 The Apache Software Foundation. All rights reserved.