List<ZoieIndexReader<IndexReader>> readers = null;
TermEnum terms = null;
try
{
readers = _zoieSystem.getIndexReaders();
MultiReader reader = new MultiReader(readers.toArray(new IndexReader[readers.size()]));
int numDocs = reader.numDocs();
terms = reader.terms();
while(terms.next() && queryTerms.size() < 10000)
{
Term term = terms.term();
int docFreq = reader.docFreq(term);
if(docFreq * 100 >= numDocs) queryTerms.add(term.text());
}
}
catch (IOException e)
{