Changeset 6349 for trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/indexers/IndexerInterface.java
- Timestamp:
- 2004-01-06T11:46:04+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/indexers/IndexerInterface.java
r6283 r6349 6 6 public interface IndexerInterface 7 7 { 8 public boolean configure(String label, String value); 9 public boolean startPass(int passNumber); 10 public boolean indexDocument(DocumentID id, DocumentInterface document); 11 public boolean endPass(int passNumber); 12 public void tidyup(); 13 public int getNumberOfPasses(); 8 public static final String DOCUMENT_LEVEL = "document"; 9 public static final String SECTION_LEVEL = "section"; 10 public static final String PARAGRAPH_LEVEL = "paragraph"; 11 12 public static final String GS2_INDEX_LABEL = "Index"; 13 14 public boolean configure(String label, String value); 15 public boolean addIndex(String level, String field); 16 public boolean startPass(int passNumber); 17 public boolean indexDocument(DocumentID id, DocumentInterface document); 18 public boolean endPass(int passNumber); 19 public void tidyup(); 20 public int getNumberOfPasses(); 14 21 }
Note:
See TracChangeset
for help on using the changeset viewer.