public class BaseSearchEngine extends Object implements SearchEngine
Constructor and Description |
---|
BaseSearchEngine() |
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() |
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) |
void |
setBooleanClauseFactory(BooleanClauseFactory booleanClauseFactory)
Deprecated.
As of Wilberforce (7.0.x)
|
void |
setBooleanQueryFactory(BooleanQueryFactory booleanQueryFactory)
Deprecated.
As of Wilberforce (7.0.x)
|
void |
setIndexSearcher(IndexSearcher indexSearcher) |
void |
setIndexWriter(IndexWriter indexWriter) |
void |
setTermQueryFactory(TermQueryFactory termQueryFactory)
Deprecated.
As of Wilberforce (7.0.x)
|
void |
setTermRangeQueryFactory(TermRangeQueryFactory termRangeQueryFactory)
Deprecated.
As of Wilberforce (7.0.x)
|
void |
setVendor(String vendor) |
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
@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
@Deprecated public void setBooleanClauseFactory(BooleanClauseFactory booleanClauseFactory)
@Deprecated public void setBooleanQueryFactory(BooleanQueryFactory booleanQueryFactory)
public void setIndexSearcher(IndexSearcher indexSearcher)
public void setIndexWriter(IndexWriter indexWriter)
@Deprecated public void setTermQueryFactory(TermQueryFactory termQueryFactory)
@Deprecated public void setTermRangeQueryFactory(TermRangeQueryFactory termRangeQueryFactory)
public void setVendor(String vendor)