Click or drag to resize

SearchDefinitionBuilderTDocumentMoreLikeThisTLike Method (IEnumerableTLike)

Creates a search definition that returns documents similar to the input documents.

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public SearchDefinition<TDocument> MoreLikeThis<TLike>(
	IEnumerable<TLike> like
)

Parameters

like
Type: System.Collections.GenericIEnumerableTLike
One or more documents that Atlas Search uses to extract representative terms for.

Type Parameters

TLike
The type of the like documents.

Return Value

Type: SearchDefinitionTDocument
A more like this search definition.
See Also