Table of Contents

Method DoesNotAffect

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

DoesNotAffect(string)

Specifies a facet whose counts should not be restricted by this compound operator. When a facet is listed here, the compound operator's clauses do not filter the documents counted for that facet — the facet reflects the full result set as if this operator were not present.

public CompoundSearchDefinitionBuilder<TDocument> DoesNotAffect(string facetName)

Parameters

facetName string

The name of the facet that this compound operator should not affect.

Returns

CompoundSearchDefinitionBuilder<TDocument>

The compound search definition builder.