Click or drag to resize

SearchDefinitionBuilderTDocumentMoreLikeThisTLike Method (TLike)

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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public SearchDefinition<TDocument> MoreLikeThis<TLike>(
	params TLike[] like
)

Parameters

like
Type: TLike
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