public class LineFileDocs extends Object implements Closeable
| Constructor and Description |
|---|
LineFileDocs(Random random) |
LineFileDocs(Random random,
String path)
If forever is true, we rewind the file at EOF (repeat
the docs over and over)
|
public LineFileDocs(Random random, String path) throws IOException
IOExceptionpublic LineFileDocs(Random random) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void reset(Random random) throws IOException
IOExceptionpublic org.apache.lucene.document.Document nextDoc()
throws IOException
IOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.