|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.dao.index.indexer.LuceneLoaderCode
org.lexevs.dao.index.indexer.LuceneLoaderCodeIndexer
public class LuceneLoaderCodeIndexer
The Class LuceneLoaderCodeIndexer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.lexevs.dao.index.indexer.LuceneLoaderCode |
---|
LuceneLoaderCode.Qualifier |
Field Summary |
---|
Constructor Summary | |
---|---|
LuceneLoaderCodeIndexer()
Instantiates a new lucene loader code indexer. |
Method Summary | |
---|---|
java.lang.String |
getCurrentIndexVersion()
Gets the current index version. |
protected Presentation |
getDefaultPresentation(Entity entity)
|
LexEvsIndexFormatVersion |
getIndexerFormatVersion()
|
LuceneEntityDao |
getLuceneEntityDao()
|
SystemResourceService |
getSystemResourceService()
Gets the system resource service. |
SystemVariables |
getSystemVariables()
Gets the system variables. |
java.util.List<org.apache.lucene.document.Document> |
indexEntity(java.lang.String codingSchemeUri,
java.lang.String codingSchemeVersion,
Entity entity)
Index entity. |
protected org.apache.lucene.document.Document |
indexEntity(java.lang.String codingSchemeUri,
java.lang.String codingSchemeVersion,
Entity entity,
Property prop)
Index entity. |
void |
setCurrentIndexVersion(java.lang.String currentIndexVersion)
Sets the current index version. |
void |
setLuceneEntityDao(LuceneEntityDao luceneEntityDao)
|
void |
setSystemResourceService(SystemResourceService systemResourceService)
Sets the system resource service. |
void |
setSystemVariables(SystemVariables systemVariables)
Sets the system variables. |
Methods inherited from class org.lexevs.dao.index.indexer.LuceneLoaderCode |
---|
addEntity, addEntityBoundryDocument, createCodingSchemeUriVersionCodeNamespaceKey, createCodingSchemeUriVersionKey, getAnalyzer, getAnaylzer, initIndexes, reverseTermsInPropertyValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.lexevs.dao.index.indexer.EntityIndexer |
---|
getAnalyzer |
Constructor Detail |
---|
public LuceneLoaderCodeIndexer()
Method Detail |
---|
public java.util.List<org.apache.lucene.document.Document> indexEntity(java.lang.String codingSchemeUri, java.lang.String codingSchemeVersion, Entity entity)
indexEntity
in interface EntityIndexer
codingSchemeUri
- the coding scheme uricodingSchemeVersion
- the coding scheme versionentity
- the entityprotected Presentation getDefaultPresentation(Entity entity)
protected org.apache.lucene.document.Document indexEntity(java.lang.String codingSchemeUri, java.lang.String codingSchemeVersion, Entity entity, Property prop) throws java.lang.Exception
codingSchemeUri
- the coding scheme uricodingSchemeVersion
- the coding scheme versionentity
- the entityprop
- the prop
java.lang.Exception
- the exceptionpublic SystemResourceService getSystemResourceService()
public void setSystemResourceService(SystemResourceService systemResourceService)
systemResourceService
- the new system resource servicepublic SystemVariables getSystemVariables()
public void setSystemVariables(SystemVariables systemVariables)
systemVariables
- the new system variablespublic LuceneEntityDao getLuceneEntityDao()
getLuceneEntityDao
in class LuceneLoaderCode
public void setLuceneEntityDao(LuceneEntityDao luceneEntityDao)
setLuceneEntityDao
in class LuceneLoaderCode
public void setCurrentIndexVersion(java.lang.String currentIndexVersion)
currentIndexVersion
- the new current index versionpublic java.lang.String getCurrentIndexVersion()
public LexEvsIndexFormatVersion getIndexerFormatVersion()
getIndexerFormatVersion
in interface EntityIndexer
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |