Search Overview


Previous page Next page  Documentation Home Print this Topic

KnowledgeTree Overview > Search Overview

KnowledgeTree's 3.5.x search engine uses Apache Lucene full text indexing for document indexing. Previous versions of KnowledgeTree use MySQL full text indexing.

 

The new indexing mechanism provides the following enhancements:

Search Query Builder
Results ranked by relevance, and include a snippet of document content where the 'hit has occurred
Document indexing occurs offline to improve performance

 

 

Search Results Ranking

Review the 'search_ranking' table to find the weightings associated with matching sub-expressions. You may modify the weightings (this must be done directly on the database) to improve the relevance of search results according to your needs.

 

 

Document Indexer Statistics

The KnowledgeTree Document Indexer provides statistics on the status of document indexing through the Indexer dashlet on the Dashboard. Statistics include general information plus a diagnostic function that allows you to check that the correct version of documents are indexed, and to re-schedule indexing if there's a discrepancy.

 

 

KnowledgeTree Scheduler

KnowledgeTree (from version 3.5.0) includes a Scheduler that runs in the background to manage and run tasks or batch jobs. Tasks are configured through the Task Scheduler Management interface in KnowledgeTree's web interface in DMS Administration >> Miscellaneous >> Manage Task Scheduler.

 

The Scheduler is called from a cron on *nix systems, and via the Task Scheduler on Windows. The Scheduler iterates through a list of tasks, and runs those tasks that are due at the time it runs. Tasks may be set to run at given intervals - e.g. every 5 minutes, hourly, daily, etc. The frequency at which the Scheduler performs tasks is set in the KnowledgeTree config.ini file - typically, this is set, by default, to once every minute.

 

The Scheduler may be configured in the [knowledgetree] setting in KnowledgeTree's config.ini file:

The interval in seconds between each iteration of the scheduler.

schedulerInterval = 30

 

Note: From KnowledgeTree 3.5.3, config settings are in the database and may be edited in DMS Administration >> System Configuration >> General Settings.

 

 

Scheduled Indexing

The Indexing script should be scheduled to run approximately every 5 minutes. The number of documents to be indexed can be configured through KnowledgeTree's config.ini file (configuration field: indexer/batchDocuments), where the default is 20 documents.

 

When increasing or decreasing the indexing frequency you need to increase of decrease the number of documents that will be indexed in a batch relevant to how the indexing frequency is reduced or increased. For example, when allowing the Indexer to run every 5 minutes, more documents may be processed in a batch compared to when the Indexer runs every minute.

© 2008 KnowledgeTree Inc.
Creative Commons License
This work is licensed under a
Creative Commons Attribution 3.0 License.