Indexing local resources

Searching in Magik project resources is supported by an indexing mechanism. This mechanism has been implemented basing on the Apache Lucene library.

Indexing mechanism analyses content of project resources during work with MDT. Information about found code elements (e.g class and method declarations) is written to internal database (indexes). The process of analysing and writing information in indexes is performed in the background while working with resources. Please note that linked and project dependency files are not indexed. It is assumed that code files are in a session and information about them is available through Method Finder.

Content of indexes enables effective and fast search of elements of source code found in Magik project resources without the need to send Magik code to GIS session. Indexing mechanism is also a base for refactoring functionalities.