Registering Pipe Templates
You can define template for your pipe.
There are two template types:
To register a template for a pipe, you use the RegisterTemplatePipe method:
var pipeSettings = PublishingSystemFactory.GetPipeSettings("MyCustomPipeName");
PublishingSystemFactory.RegisterTemplatePipe("SearchItemTemplate", pipeSettings);
The template is part of the settings. With registering the SearchItemTemplate, you add your inbound custom pipe as an option when creating a search index.