Package org.olat.search.service.indexer

The indexer package contains all classes to create a new search-index.

See:
          Description

Interface Summary
FolderIndexerAccess  
Indexer Common interface for all indexers.
 

Class Summary
AbstractIndexer Common abstract indexer.
ContextHelpIndexer Description:
This indexer indexes the context sensitive help system
FolderIndexer Common folder indexer.
FolderIndexerFullAccess Description:
Dummy implementation with full access
FolderIndexerWorker Common folder indexer.
FolderIndexerWorkerPool Pool of folder indexer worker.
ForumIndexer Common forum indexer.
FullIndexerStatus Status of full indexer.
Index Controls the existing index, copy new generated index from temporary directory to search direcotry.
IndexWriterWorker Used in multi-threaded mode.
MainIndexer Top class of indexer tree.
OlatFullIndexer Controls the hole generation of a full-index.
 

Package org.olat.search.service.indexer Description

The indexer package contains all classes to create a new search-index.

Indexer Structure

The indexer loops over all OLAT data to analyse and generate a new index. The indexer structure is given through the spring config defaultconfig.xml at org.olat.search.service._spring. Each indexer analyse his content and pass tha context to his child elements.
E.g. GroupIndexer goes further to GroupFolderIndexer, GroupForumIndexer, GroupWikiIndexer for each group.

Indexer Single-Thread / Multi-Thread Mode

The indexer can runs in two modes :

Single Thread
Only one thread does the hole work, analyse olat data, read file content and write index-data to index-file.
Multi-Thread
Main thread analyse the olat-data. One or more FolderIndexerWorker read data form file-system. One or more IndexWriter writes index-data to index-file. The