1 // BSD License (http://www.galagosearch.org/license)
2 package org.galagosearch.core.retrieval.structured;
3
4 import java.io.IOException;
5
6 /***
7 *
8 * @author trevor
9 */
10 public interface ScoreIterator extends StructuredIterator {
11 public int nextCandidate();
12 public boolean hasMatch(int document);
13 public void moveTo(int document) throws IOException;
14 public void movePast(int document) throws IOException;
15 public double score(int document, int length);
16 public boolean isDone();
17 public void reset() throws IOException;
18 }