|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AVMLuceneIndexer
AVM specific indxer support
Method Summary | |
---|---|
void |
createIndex(java.lang.String store,
IndexMode mode)
Create an index for the specified store. |
void |
deleteIndex(java.lang.String store,
IndexMode mode)
Delete the index for the specified store. |
long |
getIndexedDocCount()
Get the number of docs this indexer has indexed so far |
int |
getLastIndexedSnapshot(java.lang.String store)
Get the last snapshot in the index - this does not mean that all snapshots before it have been indexed. |
boolean |
hasIndexBeenCreated(java.lang.String store)
Has the index been ceated |
void |
index(java.lang.String store,
int srcVersion,
int dstVersion,
IndexMode mode)
Index a specified change to a store between two snapshots |
boolean |
isSnapshotIndexed(java.lang.String store,
int id)
Is the snapshot applied to the index? Is there an entry for any node that was added OR have all the nodes in the transaction been deleted as expected? |
boolean |
isSnapshotSearchable(java.lang.String store,
int id)
Is snapshot searchable |
Methods inherited from interface org.alfresco.repo.search.impl.lucene.LuceneIndexer |
---|
doReadOnly, getContainerDeletions, getDeleteOnlyNodes, getDeletions, getDeltaId |
Methods inherited from interface org.alfresco.repo.search.Indexer |
---|
createChildRelationship, createNode, deleteChildRelationship, deleteIndex, deleteNode, flushPending, setReadThrough, updateChildRelationship, updateNode |
Methods inherited from interface org.alfresco.repo.search.TransactionSynchronisationAwareIndexer |
---|
commit, isModified, prepare, rollback |
Methods inherited from interface org.alfresco.repo.search.BackgroundIndexerAware |
---|
registerCallBack, updateFullTextSearch |
Methods inherited from interface org.alfresco.repo.search.SupportsBackgroundIndexing |
---|
setFullTextSearchIndexer |
Method Detail |
---|
void index(java.lang.String store, int srcVersion, int dstVersion, IndexMode mode)
store
- - the name of the storesrcVersion
- - the id of the snapshot before the changesetdstVersion
- - the id of the snapshot created by the change setmode
- void deleteIndex(java.lang.String store, IndexMode mode)
store
- mode
- void createIndex(java.lang.String store, IndexMode mode)
store
- mode
- boolean isSnapshotIndexed(java.lang.String store, int id)
store
- id
-
boolean isSnapshotSearchable(java.lang.String store, int id)
store
- id
-
boolean hasIndexBeenCreated(java.lang.String store)
store
-
long getIndexedDocCount()
int getLastIndexedSnapshot(java.lang.String store)
store
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |