1
2
3 package org.galagosearch.core.retrieval.structured;
4
5 import java.io.IOException;
6
7 /***
8 * Each iterator from an index has an extra two methods,
9 * getRecordstring() and nextRecord(), that allows the data from
10 * the index to be easily printed. DumpIndex uses this functionality
11 * to dump the contents of any Galago index.
12 *
13 * @author trevor
14 */
15 public interface IndexIterator extends StructuredIterator {
16 String getRecordString();
17 boolean nextRecord() throws IOException;
18 }