| |
|
| java.lang.Object org.sakaiproject.search.index.impl.SearchIndexStorage
SearchIndexStorage | public class SearchIndexStorage implements IndexStorage(Code) | | A simple multiplex class to enable configuration of the storage mecahnism in
sakai.properties to use
indexStorageName@org.sakaiproject.search.index.IndexStorage = filesystem
indexStorageName@org.sakaiproject.search.index.IndexStorage = cluster
indexStorageName@org.sakaiproject.search.index.IndexStorage = db
recoverCorruptedIndex@org.sakaiproject.search.index.IndexStorage = false
location@org.sakaiproject.search.index.IndexStorage =
tableName|localDirectory Default is to use the local filesystem These values
may cahnge, and it is worth looking in the components for the real values.
author: ieb |
centralIndexExists | public boolean centralIndexExists()(Code) | | |
closeIndexReader | public void closeIndexReader(IndexReader indexReader) throws IOException(Code) | | |
closeIndexSearcher | public void closeIndexSearcher(IndexSearcher indexSearcher)(Code) | | |
closeIndexWriter | public void closeIndexWriter(IndexWriter indexWrite) throws IOException(Code) | | |
disableDiagnostics | public void disableDiagnostics()(Code) | | |
enableDiagnostics | public void enableDiagnostics()(Code) | | |
getAnalyzer | public Analyzer getAnalyzer()(Code) | | |
getCurrentStores | public Map getCurrentStores()(Code) | | Returns the currentStores. |
getDefaultIndexStorage | public IndexStorage getDefaultIndexStorage()(Code) | | Returns the defaultIndexStorage. |
getIndexStorageName | public String getIndexStorageName()(Code) | | Returns the indexStorageName. |
getIndexWriter | public IndexWriter getIndexWriter(boolean create) throws IOException(Code) | | |
getLastUpdate | public long getLastUpdate()(Code) | | |
getRunningIndexStorage | public IndexStorage getRunningIndexStorage()(Code) | | Returns the runningIndexStorage. |
getSegmentInfoList | public List getSegmentInfoList()(Code) | | |
hasDiagnostics | public boolean hasDiagnostics()(Code) | | |
indexExists | public boolean indexExists()(Code) | | |
isMultipleIndexers | public boolean isMultipleIndexers()(Code) | | |
setCurrentStores | public void setCurrentStores(Map currentStores)(Code) | | Parameters: currentStores - The currentStores to set. |
setDefaultIndexStorage | public void setDefaultIndexStorage(IndexStorage defaultIndexStorage)(Code) | | Parameters: defaultIndexStorage - The defaultIndexStorage to set. |
setIndexStorageName | public void setIndexStorageName(String indexStorageName)(Code) | | Parameters: indexStorageName - The indexStorageName to set. |
setRecoverCorruptedIndex | public void setRecoverCorruptedIndex(boolean recover)(Code) | | |
setRunningIndexStorage | public void setRunningIndexStorage(IndexStorage runningIndexStorage)(Code) | | Parameters: runningIndexStorage - The runningIndexStorage to set. |
|
|
|