1 17 18 19 20 package org.apache.lenya.lucene.index; 21 22 import java.io.File ; 23 24 import org.w3c.dom.Element ; 25 26 public interface Indexer { 27 30 void configure(Element indexer, String configFileName) throws Exception ; 31 32 35 void createIndex(File dumpDirectory, File index) 36 throws Exception ; 37 38 41 void updateIndex(File dumpDirectory, File index) 42 throws Exception ; 43 44 47 void indexDocument(File file) 48 throws Exception ; 49 } 50 | Popular Tags |