Method DoesNotAffect
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
facetNamestringThe name of the facet that this compound operator should not affect.
Returns
- CompoundSearchDefinitionBuilder<TDocument>
The compound search definition builder.