1 package org.enhydra.snapper.api; 2 3 import java.io.*; 4 5 18 19 public interface Indexer{ 20 21 23 void setUpIndexer(String siteName, String language, boolean create, int maxLength) throws IOException; 24 25 void setMaxAge(String age); 26 27 void setMaxSize(String size); 28 29 31 void indexDoc(long timestamp, String path, String text, String type, String title, String properties, String metadata, String fileName) throws IOException; 32 33 void optimize(); 34 35 void close(); 36 37 38 } 39 40 41 42 43 | Popular Tags |