the mass storage (not an index currently but that may come back) is similar to a flat filesystem and contains potentially large chunks expected to be responded by the large requests above
the relation storage stores the "relations", i.e. things returned by getIncomingRelations and getOutgoingRelations (e.g. the for, the depends-on relations).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
basePath
public final String basePath
SlumbIndex
public SlumbIndex(Subconfiguration config)
throws IOException
- Throws:
IOException
makeDefaultProperties
public static Properties makeDefaultProperties()
getStorage
public SlumbStorage getStorage()
getCollectionStatusForPubIdentifier
public IndexedCollectionStatus getCollectionStatusForPubIdentifier(String pubId)
acquireReadLock
public void acquireReadLock()
releaseReadLock
public void releaseReadLock()
acquireWriteLock
public void acquireWriteLock()
releaseWriteLock
public void releaseWriteLock()
computeRelPath
public String computeRelPath(OJElement elt)
computeRelPath
public String computeRelPath(File file,
String collectionId)
computeRelPath
public String computeRelPath(File file)
computeCollOfFile
public String computeCollOfFile(File file)
getFileOfID
public File getFileOfID(String id)
throws IOException
- Throws:
IOException
reparseItem
public OJElement reparseItem(String id)
throws Exception
- Specified by:
reparseItem in interface Inheritor.Reparser
- Throws:
Exception
reloadConfig
public void reloadConfig()
getReloadHooks
public Map getReloadHooks()
- Returns a map from collection-names to reload-hooks-commands.
getAMIndex
public AMIndex getAMIndex()
listIds
public Iterator listIds(org.apache.lucene.search.Query query)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
getGlobalIdMap
public TheoryCollection getGlobalIdMap()