Hunting MoreLikeThis results

We might not get relevant results with keywords all the time, so we need to find similar results based on a document; something like what Google provides, as shown in the following image:

Hunting MoreLikeThis results

MoreLikeThis is a component to find documents that are most similar to a document. It does this using terms from the original document to find similar documents in the index. In this recipe, you will learn different approaches to using this component.

Getting ready

For this recipe, we will use the same product and their blog items and both will have Title and Description fields, on which we will perform a MoreLikeThis search.

How to do ...

Get Sitecore Cookbook for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.