public class QueuingSearchEngine extends BaseSearchEngine
Constructor and Description |
---|
QueuingSearchEngine(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
flush() |
IndexSearcher |
getIndexSearcher() |
IndexWriter |
getIndexWriter() |
void |
invokeQueued(IndexWriter indexWriter) |
backup, getBooleanClauseFactory, getBooleanQueryFactory, getTermQueryFactory, getTermRangeQueryFactory, getVendor, initialize, removeBackup, removeCompany, restore, setBooleanClauseFactory, setBooleanQueryFactory, setIndexSearcher, setIndexWriter, setTermQueryFactory, setTermRangeQueryFactory, setVendor
public void flush()
public IndexSearcher getIndexSearcher()
getIndexSearcher
in interface SearchEngine
getIndexSearcher
in class BaseSearchEngine
public IndexWriter getIndexWriter()
getIndexWriter
in interface SearchEngine
getIndexWriter
in class BaseSearchEngine
public void invokeQueued(IndexWriter indexWriter) throws Exception
Exception