public class SearchEngineProxyWrapper extends Object implements SearchEngine
Constructor and Description |
---|
SearchEngineProxyWrapper(SearchEngine searchEngine,
IndexSearcher indexSearcher,
IndexWriter indexWriter) |
Modifier and Type | Method and Description |
---|---|
String |
backup(long companyId,
String backupName) |
BooleanClauseFactory |
getBooleanClauseFactory()
Deprecated.
As of Wilberforce (7.0.x)
|
BooleanQueryFactory |
getBooleanQueryFactory()
Deprecated.
As of Wilberforce (7.0.x)
|
IndexSearcher |
getIndexSearcher() |
IndexWriter |
getIndexWriter() |
SearchEngine |
getSearchEngine() |
TermQueryFactory |
getTermQueryFactory()
Deprecated.
As of Wilberforce (7.0.x)
|
TermRangeQueryFactory |
getTermRangeQueryFactory()
Deprecated.
As of Wilberforce (7.0.x)
|
String |
getVendor() |
void |
initialize(long companyId) |
void |
removeBackup(long companyId,
String backupName) |
void |
removeCompany(long companyId) |
void |
restore(long companyId,
String backupName) |
public SearchEngineProxyWrapper(SearchEngine searchEngine, IndexSearcher indexSearcher, IndexWriter indexWriter)
public String backup(long companyId, String backupName) throws SearchException
backup
in interface SearchEngine
SearchException
@Deprecated public BooleanClauseFactory getBooleanClauseFactory()
getBooleanClauseFactory
in interface SearchEngine
@Deprecated public BooleanQueryFactory getBooleanQueryFactory()
getBooleanQueryFactory
in interface SearchEngine
public IndexSearcher getIndexSearcher()
getIndexSearcher
in interface SearchEngine
public IndexWriter getIndexWriter()
getIndexWriter
in interface SearchEngine
public SearchEngine getSearchEngine()
@Deprecated public TermQueryFactory getTermQueryFactory()
getTermQueryFactory
in interface SearchEngine
@Deprecated public TermRangeQueryFactory getTermRangeQueryFactory()
getTermRangeQueryFactory
in interface SearchEngine
public String getVendor()
getVendor
in interface SearchEngine
public void initialize(long companyId)
initialize
in interface SearchEngine
public void removeBackup(long companyId, String backupName) throws SearchException
removeBackup
in interface SearchEngine
SearchException
public void removeCompany(long companyId)
removeCompany
in interface SearchEngine
public void restore(long companyId, String backupName) throws SearchException
restore
in interface SearchEngine
SearchException