01: /*
02: *
03: */
04:
05: package org.enhydra.snapper.spec;
06:
07: //import com.lutris.appserver.server.sql.DBTransaction;
08:
09: import java.io.IOException;
10: import java.util.Properties;
11:
12: import org.enhydra.snapper.api.searching.SearchResult;
13:
14: //import org.enhydra.snapper.business.Mapper;
15:
16: public interface SearcherBase {
17:
18: public void setUpHighLighter(Properties prop);
19:
20: public void setUpSearcherQuery(Properties prop);
21:
22: public void searchDocs() throws IOException;
23:
24: public int getSearchedDocsNumber();
25:
26: public SearchResult getSearchResult(int begin, int end);
27:
28: public SearchResult getSearchResult();
29:
30: public void close();
31:
32: }
|