NEST by Elastic and contributors

<PackageReference Include="NEST" Version="6.8.9" />

.NET API 5,346,304 bytes

 LikeDocumentDescriptor<TDocument>

public LikeDocumentDescriptor<TDocument> Document(TDocument document)

A document to find other documents like

public LikeDocumentDescriptor<TDocument> Fields(Func<FieldsDescriptor<TDocument>, IPromise<Fields>> fields)

The fields to use for likeness

public LikeDocumentDescriptor<TDocument> Fields(Fields fields)

The fields to use for likeness

public LikeDocumentDescriptor<TDocument> Id(Id id)

The id of an indexed document to find other documents like

public LikeDocumentDescriptor<TDocument> Index(IndexName index)

The index of an indexed document to find other documents like

A different analyzer than the one defined for the target fields

public LikeDocumentDescriptor<TDocument> Routing(Routing routing)

The routing value of an indexed document to find other documents like

public LikeDocumentDescriptor<TDocument> Type(TypeName type)