source: trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/indexers/IndexerInterface.java@ 6283

Last change on this file since 6283 was 6283, checked in by cs025, 20 years ago

Changes to indexer interface, improving configuration options. Also,
added section support to MGIndexer.

  • Property svn:keywords set to Author Date Id Revision
File size: 501 bytes
Line 
1package org.greenstone.gsdl3.gs3build.indexers;
2
3import org.greenstone.gsdl3.gs3build.doctypes.DocumentID;
4import org.greenstone.gsdl3.gs3build.doctypes.DocumentInterface;
5
6public interface IndexerInterface
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();
14}
Note: See TracBrowser for help on using the repository browser.