1 4 package com.openedit.store; 5 6 import java.util.List ; 7 8 import com.openedit.modules.search.LuceneHitTracker; 9 10 14 public interface StoreSearcher 15 { 16 public LuceneHitTracker search(String inSearch, String inOrdering)throws StoreException; 17 void reIndexAll() throws StoreException; 18 String getIndexId(); 19 public void updateIndex(Product inProduct) throws StoreException; 20 public void updateIndex( List inProducts ) throws StoreException; 21 public void deleteFromIndex(Product inProduct)throws StoreException; 22 void setStore( Store inStore); 23 void clearIndex(); 24 } 25 | Popular Tags |