package org.nanotek.lucene;
|
|
import java.util.List;
|
|
|
import org.apache.lucene.index.Term;
|
import org.nanotek.cms.domain.lucene.Index;
|
import java.util.concurrent.ExecutorService;//May BI
|
import org.apache.lucene.search.IndexSearcher;
|
import org.nanotek.cms.domain.lucene.FieldStat;
|
import org.nanotek.cms.domain.lucene.TermStats;
|
|
public interface SearcherProvider {
|
|
public IndexSearcher getIndexSearcher(Index index);
|
public IndexSearcher getIndexSearcher(Index index, ExecutorService executorService);
|
public List<TermStats> getTermStats(Index index, List<Term> termList);
|
public FieldStat getFieldStat(Index index, String field);
|
}
|