This commit is contained in:
kimchy 2010-04-01 00:44:34 +03:00
parent aac05e2629
commit d546ae358c

View File

@ -121,6 +121,9 @@ public class SimpleLuceneTests {
indexWriter.close();
}
/**
* Verify doc freqs update with refresh of readers.
*/
@Test public void testTermEnumDocFreq() throws Exception {
Directory dir = new RAMDirectory();
IndexWriter indexWriter = new IndexWriter(dir, Lucene.STANDARD_ANALYZER, true, IndexWriter.MaxFieldLength.UNLIMITED);