This isn’t a talking to, this is a conversation feel free to participate!
Is anyone using these features, if so how are you using them?
Search Vertical:
Think of search verticals like the different options in a google search i.e. images, videos, etc.
Each Vertical should go to another search page with a result source configured for the page. The default videos search vertical navigates to the video results page with a result source only grabbing videos.
Control Template:
A control template acts as the container for each search result item within it. Think of a carton of eggs, the carton itself represents the control template and each search result is an egg.
You wouldn't carry eggs without a carton right!
Item Template:
The item template determines how the item will be formatted. A result type determines what template should be used. An example being if the item returned is of type web page, I want to use my custom item template which gives the title an H1Black heading.
Refinement Panel:
This contains the refiners that you have configured. Remember: Single item refiners and multi select refiners use different display templates.
Site Settings -> Site Collection Administration -> Search Settings
For a particular site’s searching experience there is a option for each site as well
Author and Family would be our managed properties and our crawled properties would be the items below it.
A few exceptions for the managed properties, such as calculated fields
The properties can be viewed by going to your search schema
-Explain what all of the properties do
What do you guys think we need to do to make this happen?
Refiners located at
All Files -> -catalogs -> masterpage -> Display Templates -> Filters -> Filter Default
Update showcounts: from false to true
Where can I find the display templates?
All Files -> -catalogs -> masterpage -> Display Templates -> next step depends on what you are altering
Best Practices:
Always make updates to the HTML file, don’t update the javascript file! The files are associated so any updates made to your JS in your html file will be reflected in your JS file.
You can use either ctx.CurrentItem.ManagedProperty i.e. ctx.CurrentItem.Author for the text string
You can use $getItemValue(ctx, “ManagedProperty”); for the object
How do I decide how many items to return? You do that in the properties of the web part.