Indexable CustomContentEntityObject

Hi folks,

can anyone shine some light on indexing of CustomContentEntityObjects in Confluence? Creating, storing, loading (using hibernate queries) and updating works just fine. But I have not been able to find any documentation on how to make them indexable and querying them using CQL. All help would be appreciated.

Kind regards