| Package | Description |
|---|---|
| org.alfresco.repo.search.impl.lucene |
| Modifier and Type | Method and Description |
|---|---|
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 Set<String> |
AbstractLuceneIndexerImpl.deleteContainerAndBelow(String nodeRef,
org.apache.lucene.index.IndexReader reader,
boolean delete,
boolean cascade) |
protected static Set<String> |
AbstractLuceneIndexerImpl.deletePrimary(Collection<String> nodeRefs,
org.apache.lucene.index.IndexReader reader,
boolean delete) |
protected static Set<String> |
AbstractLuceneIndexerImpl.deleteReference(Collection<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,
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
|
Copyright © 2005–2018 Alfresco Software. All rights reserved.