Table of Contents

Method Compound

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

Compound(SearchScoreDefinition<TDocument>)

Creates a builder for a compound search definition.

public CompoundSearchDefinitionBuilder<TDocument> Compound(SearchScoreDefinition<TDocument> score = null)

Parameters

score SearchScoreDefinition<TDocument>

The score modifier.

Returns

CompoundSearchDefinitionBuilder<TDocument>

A compound search definition builder.