Table of Contents

Method MinimumShouldMatch

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

MinimumShouldMatch(int)

Sets a value specifying the minimum number of should clauses the must match to include a document in the results.

public CompoundSearchDefinitionBuilder<TDocument> MinimumShouldMatch(int minimumShouldMatch)

Parameters

minimumShouldMatch int

The value to set.

Returns

CompoundSearchDefinitionBuilder<TDocument>

The compound search definition builder.