Method MoreLikeThis
MoreLikeThis<TLike>(IEnumerable<TLike>)
Creates a search definition that returns documents similar to the input documents.
public SearchDefinition<TDocument> MoreLikeThis<TLike>(IEnumerable<TLike> like)
Parameters
like
IEnumerable<TLike>One or more documents that Atlas Search uses to extract representative terms for.
Returns
- SearchDefinition<TDocument>
A more like this search definition.
Type Parameters
TLike
The type of the like documents.
MoreLikeThis<TLike>(params TLike[])
Creates a search definition that returns documents similar to the input documents.
public SearchDefinition<TDocument> MoreLikeThis<TLike>(params TLike[] like)
Parameters
like
TLike[]One or more documents that Atlas Search uses to extract representative terms for.
Returns
- SearchDefinition<TDocument>
A more like this search definition.
Type Parameters
TLike
The type of the like documents.