Grouping data on the basis of custom field in Search Result web part
Hi,

 i need to group the data in search result webpart according to custom field like title , author or date.

  Please help me to do that as shown in below. I will be very thankful to you

 

 Author 1

 Result1 related to author 1

 Result2 related to author 1

 Result3 related to author 1

 ....

 Author 2

 Result1 related to author 2

 Result2 related to author 2

 Result3 related to author 2

 ....

 .....
January 21st, 2015 8:21am

Hi,

For grouping the data in Search results web part, I recommend to use Refinement web part to refine the results based on your selection.

For example, if you want to get the results related to author, then you can add the managed property for the authors to the Refinement web part.

After that, you can get all the values in authors, such as Author 1 in the Refinement web part, and you can click Author 1 to get the results related to Author 1.

Notes: You need to set the managed property refineable if it is not refineable and then do a full crawl.

If author is a custom column in a list, then you may need to create the managed property for the custom column and then map the crawled property to the managed property in Search Service Application. And remember to make the managed property refineable and then do a full crawl.

Best regards.

Thanks

Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2015 9:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics