[ CCode ( type_id = "camel_index_get_type ()" ) ]
public class Index : Object
Abstract interface for content indexing.
Index is an abstract base class that provides a content-indexing interface for Camel. It is used to build and query full-text indexes of message content, enabling fast body-text searches without re-scanning message files.
The concrete implementation is TextIndex, which stores the index on disk using a partition-table and block-file based format.
When a Index is attached to a FolderSummary (via
set_index), summary generation will automatically add index entries for
each message's text/... content. The index can then be queried by CamelFolderSearch to accelerate `body-contains` searches.