You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$10
For Premium members:
In this article we will see the difference between a Search Result Web Part and a Content by Search Web.
Hi Again.
Today, I'll explain the Result Types. If we do a little bit of Googling then we will get very good articles / blogs on Result Types.
The following are a few good references for details of Result Types:
So here I'll not delve into Result Types but will discuss the use case (scenario) we have and how we implement using Result Types.
Use Case
We have a portal with many article pages, news pages and links. We have a requirement like on our main portal home page for showing the 5 article pages, news pages and links. So a total of 15 items. All we need to show in such a way that they have a common background for all 15 items without any gap between various types of results but multiple presentations to identify those. Like the previous link there should be “>>”, news pages item should show the modified date and article pages item should show the author.
Such as shown in the following example, with a Yellow background (this is just an example):
Article1 AuthorArticle 2 AuthorArticle 3 AuthorArticle 4 AuthorNews Item 1 Modified dateNews Item 2 Modified dateNews Item 3 Modified dateNews Item 4 Modified date>> Link1 >> Link2Various Approaches
We have decided to implement this requirement with a Search, so in any approach we will require at least three Display Templates.
So here at least our performance and maintenance related problem is solved since we are using only one Search Result web part. So basically here I want to focus on Result Types that are used to display results differently. But Result Types are available only with Search Results web part.
[Even though we will go with Content Query web part (CQWP) for this requirement, we will require three CQWP that need to be added in one Zone, the same as a Content Search web part.]
Thanks!
Feel free to comment and/or provide feedback if any or if you have any query.
Interview Questions on SharePoint 2013