|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.infoset.fulltext.topicmaps.DefaultTopicMapIndexer
public class DefaultTopicMapIndexer
INTERNAL: The default topic map indexer manager. This indexer is preconfigured in a way that it should be suitable for most cases when topic maps need to be indexed.
If external resources is not to be indexed the DefaultIndexerManager
indexer
manager is used internally, otherwise the following
configuration:
ThreadedIndexerManager
internally, except that it has its document processor timeout set to 30
seconds.DefaultTopicMapDocumentGenerator
to generate DocumentIFs for the
topic map objects.
Field Summary | |
---|---|
protected TopicMapDocumentGeneratorIF |
docgen
|
protected IndexerIF |
imanager
|
protected boolean |
index_external
|
protected IndexerIF |
indexer
|
Constructor Summary | |
---|---|
DefaultTopicMapIndexer(IndexerIF indexer)
Creates a default topic map indexer. |
|
DefaultTopicMapIndexer(IndexerIF indexer,
boolean index_external,
java.lang.String preloaddir)
Creates a topic map indexer. |
Method Summary | |
---|---|
void |
close()
INTERNAL: Closes the indexer manager. |
void |
delete(TMObjectIF tmobject)
INTERNAL: Deletes the given topic map object. |
void |
flush()
INTERNAL: Flushes the index. |
IndexerIF |
getNestedIndexer()
INTERNAL: Gets the nested indexer manager. |
void |
index(OccurrenceIF occurs)
INTERNAL: Indexes the given occurrence. |
void |
index(TopicMapIF topicmap)
INTERNAL: Indexes the given topic map. |
void |
index(TopicNameIF name)
INTERNAL: Indexes the given topic name. |
void |
index(VariantNameIF variant)
INTERNAL: Indexes the given variant name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IndexerIF indexer
protected boolean index_external
protected IndexerIF imanager
protected TopicMapDocumentGeneratorIF docgen
Constructor Detail |
---|
public DefaultTopicMapIndexer(IndexerIF indexer)
indexer
- The indexer that will do the actual indexing.public DefaultTopicMapIndexer(IndexerIF indexer, boolean index_external, java.lang.String preloaddir)
indexer
- The indexer that will do the actual indexing.index_external
- Whether external resources will be indexed.Method Detail |
---|
public IndexerIF getNestedIndexer()
public void index(TopicMapIF topicmap) throws java.io.IOException
java.io.IOException
public void index(TopicNameIF name) throws java.io.IOException
java.io.IOException
public void index(VariantNameIF variant) throws java.io.IOException
java.io.IOException
public void index(OccurrenceIF occurs) throws java.io.IOException
java.io.IOException
public void delete(TMObjectIF tmobject) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |