I am currently working on SharePoint Search customization and I am facing a problem while displaying the item display template for my custom result type.
In my scenario, I have just created a Custom result type named "Test". Added "Test.html" as display template for my custom result type and "Test_HoverPanel.html" for Hover panel in Site Settings-> Master Pages-> Display Templates -> Search folder.
I want to display this "Test.html" display template when the result is a Word Document and matching type of content should be "ContentType" starts with particular keyword.
Please suggest to me how could I achieve this? If I am doing something wrong then let me know.