I have a custom module that I want to search and indexing searching it. so I created a content type from it by using _contentDefinitionService.AddType(), then
_contentDefinitionService.AddType()