Index
Introduction to the index in ConSol CM
ConSol CM stores most of its data in a relational database. In order to improve the performance of search operations, Apache Lucene indexes are used. For each data field that should serve as search criterion, an index is created. The indexes are stored on the file system, in a subdirectory of the data directory. The component for index management is called indexer.
There are three types of searches:
- Quick search: Simple free-text search using a search field in the upper right corner of the Web Client
- Detail search: Advanced search on a specific page which allows combining several search criteria
- Autocomplete search: Context-dependent free-text search integrated into specific pages
The index is required to be able to search for objects in ConSol CM. The scope of the index are the basic user and case data, the entire case text, the attachments (can be configured in the system property cmas-core-index-common
, index.attachment
) and the data fields which have the setting Indexed for search. The data fields configured for the index are available as search criteria in the detailed search, and they can trigger an autocomplete search on contact and resource pages. The quick search shows the objects which contain the search term in an indexed field.
In addition, fields need to be indexed for the following purposes:
- The field is used as a table column and the users should be able to sort the table by this column.
- The field is used in scripts to search for entities, e.g. using criteria objects as
TicketCriteria
,UnitCriteria
orResourceCriteria
.
Available settings for the index
The configuration of the index is done in a number of different places. The items described in the following sections need to be configured for the index to work correctly. In addition, you can fine-tune the indexer in the system properties, see Fine-tuning the indexer.