|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.dao.index.connection.IndexInterface
public class IndexInterface
This classes manages the interactions with a single lucene index directory.
Constructor Summary | |
---|---|
IndexInterface(IndexerService service)
Instantiates a new index interface. |
|
IndexInterface(java.lang.String location)
Instantiates a new index interface. |
Method Summary | |
---|---|
void |
close()
Close. |
void |
deleteIndex(java.lang.String internalCodeSystemName,
java.lang.String internalVersionString)
Delete index. |
IndexerService |
getBaseIndexerService()
Gets the base indexer service. |
org.apache.lucene.search.DocIdSetIterator |
getBoundaryDocumentIterator(java.lang.String internalCodeSystemName,
java.lang.String internalVersionString)
Gets the boundary document iterator. |
org.apache.lucene.search.Filter |
getCodeBoundryFilter()
Gets the code boundry filter. |
java.util.ArrayList<java.lang.String> |
getCodeSystemKeys()
Gets the code system keys. |
java.lang.String |
getIndexLocation(java.lang.String internalCodeSystemName,
java.lang.String internalVersionString)
Gets the index location. |
LuceneIndexReader |
getIndexReader(java.lang.String internalCodeSystemName,
java.lang.String internalVersionString)
Gets the index reader. |
protected LgLoggerIF |
getLogger()
Gets the logger. |
LuceneIndexReader |
getMetaDataIndexReader()
Gets the meta data index reader. |
SearchServiceInterface |
getMetaDataSearcher()
Gets the meta data searcher. |
java.lang.String |
getMetaLocation()
Gets the meta location. |
SearchServiceInterface |
getSearcher(java.lang.String internalCodeSystemName,
java.lang.String internalVersionString)
Gets the searcher. |
void |
initCodingSchemes()
Inits the coding schemes. |
void |
reopenIndex(java.lang.String internalCodeSystemName,
java.lang.String internalVersionString)
Reopen index. |
void |
reopenMetaDataIndexReader()
Reopen meta data index reader. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexInterface(IndexerService service)
service
- the servicepublic IndexInterface(java.lang.String location)
location
- the locationMethod Detail |
---|
protected LgLoggerIF getLogger()
public void initCodingSchemes() throws LBInvocationException
LBInvocationException
- the LB invocation exceptionpublic org.apache.lucene.search.Filter getCodeBoundryFilter()
public java.util.ArrayList<java.lang.String> getCodeSystemKeys()
public org.apache.lucene.search.DocIdSetIterator getBoundaryDocumentIterator(java.lang.String internalCodeSystemName, java.lang.String internalVersionString)
internalCodeSystemName
- the internal code system nameinternalVersionString
- the internal version string
public LuceneIndexReader getIndexReader(java.lang.String internalCodeSystemName, java.lang.String internalVersionString)
internalCodeSystemName
- the internal code system nameinternalVersionString
- the internal version string
public void reopenMetaDataIndexReader()
public LuceneIndexReader getMetaDataIndexReader()
public void reopenIndex(java.lang.String internalCodeSystemName, java.lang.String internalVersionString) throws LBInvocationException
internalCodeSystemName
- the internal code system nameinternalVersionString
- the internal version string
LBInvocationException
- the LB invocation exceptionpublic SearchServiceInterface getSearcher(java.lang.String internalCodeSystemName, java.lang.String internalVersionString)
internalCodeSystemName
- the internal code system nameinternalVersionString
- the internal version string
public SearchServiceInterface getMetaDataSearcher()
public void deleteIndex(java.lang.String internalCodeSystemName, java.lang.String internalVersionString) throws InternalException
internalCodeSystemName
- the internal code system nameinternalVersionString
- the internal version string
InternalException
- the internal exceptionpublic java.lang.String getMetaLocation()
public IndexerService getBaseIndexerService()
public java.lang.String getIndexLocation(java.lang.String internalCodeSystemName, java.lang.String internalVersionString)
internalCodeSystemName
- the internal code system nameinternalVersionString
- the internal version string
public void close()
|
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 |