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.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public SearchDefinition<TDocument> MoreLikeThis<TLike>(
IEnumerable<TLike> like
)
Public Function MoreLikeThis(Of TLike) (
like As IEnumerable(Of TLike)
) As SearchDefinition(Of TDocument)
member MoreLikeThis :
like : IEnumerable<'TLike> -> SearchDefinition<'TDocument>
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:
SearchDefinitionTDocumentA more like this search definition.
See Also