1 package org.enhydra.snapper.api; 2 3 import java.util.*; 4 import java.io.*; 5 6 11 12 public interface Searcher { 13 14 public void setUpSearcher(Properties prop)throws IOException; 15 public void setUpHighLighter(Properties prop); 16 public void searchDocs(String luceneQuery, String language) throws IOException; 17 public void searchDocs(String luceneQuery, String highlighterContentQuery, String language) throws IOException; 18 public void searchDocs(String luceneQuery, String highlighterContentQuery, String highlighterPropertiesQuery, String language) throws IOException; 19 public void searchDocs(String luceneQuery, String highlighterContentQuery, String highlighterPropertiesQuery, String sortType, String language) throws IOException; 20 public void searchDocs(String luceneQuery, String highlighterContentQuery, String highlighterPropertiesQuery, String highlighterMetaDataQuery,String sortType, String language) throws IOException; 21 public void close()throws IOException;; 22 public int getSearchedDocsNumber(); 23 public long getSearchedTime(); 24 public String getXmlSearchedResult(); 25 public String getXmlSearchedResult(int begin,int end); 26 } 27 28 29 30 31 | Popular Tags |