protected void |
AbstractLuceneBase.closeDeltaReader() |
Close the on file reader for the delta if it is open
|
protected void |
AbstractLuceneBase.closeDeltaWriter() |
Close the on disk delta writer
|
void |
AbstractLuceneIndexerImpl.commit() |
Commit this index
|
protected void |
AbstractLuceneIndexerImpl.delete(T ref) |
|
protected static java.util.Set<java.lang.String> |
AbstractLuceneIndexerImpl.deleteContainerAndBelow(java.lang.String nodeRef,
org.apache.lucene.index.IndexReader reader,
boolean delete,
boolean cascade) |
|
protected static java.util.Set<java.lang.String> |
AbstractLuceneIndexerImpl.deletePrimary(java.util.Collection<java.lang.String> nodeRefs,
org.apache.lucene.index.IndexReader reader,
boolean delete) |
|
protected static java.util.Set<java.lang.String> |
AbstractLuceneIndexerImpl.deleteReference(java.util.Collection<java.lang.String> nodeRefs,
org.apache.lucene.index.IndexReader reader,
boolean delete) |
|
protected org.apache.lucene.index.IndexReader |
AbstractLuceneBase.getDeltaReader() |
Get a reader for the on file portion of the delta
|
protected org.apache.lucene.index.IndexWriter |
AbstractLuceneBase.getDeltaWriter() |
Get the on file writer for the delta
|
protected org.apache.lucene.index.IndexReader |
AbstractLuceneBase.getReader() |
|
protected org.apache.lucene.search.IndexSearcher |
AbstractLuceneBase.getSearcher() |
Get a searcher for the main index TODO: Split out support for the main index.
|
protected ClosingIndexSearcher |
AbstractLuceneBase.getSearcher(LuceneIndexer luceneIndexer) |
|
protected void |
AbstractLuceneIndexerImpl.index(T ref) |
|
protected void |
AbstractLuceneBase.initialise(org.alfresco.service.cmr.repository.StoreRef store,
java.lang.String deltaId) |
Initialise the configuration elements of the lucene store indexers and searchers.
|
int |
AbstractLuceneIndexerImpl.prepare() |
Prepare to commit At the moment this makes sure we have all the locks TODO: This is not doing proper
serialisation against the index as would a data base transaction.
|
protected void |
AbstractLuceneIndexerImpl.reindex(T ref,
boolean cascadeReindexDirectories) |
|
void |
AbstractLuceneIndexerImpl.rollback() |
Roll back the index changes (this just means they are never added)
|
protected void |
AbstractLuceneBase.saveDelta() |
Save the in memory delta to the disk, make sure there is nothing held in memory
|