Click or drag to resize

SearchSpanDefinitionBuilder<TDocument>.Or Method (IEnumerable<SearchSpanDefinition<TDocument>>)

Creates a span clause that matches any of its subclauses.

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax
public SearchSpanDefinition<TDocument> Or(
	IEnumerable<SearchSpanDefinition<TDocument>> clauses
)

Parameters

clauses
Type: System.Collections.Generic.IEnumerable<SearchSpanDefinition<TDocument>>
The clauses.

Return Value

Type: SearchSpanDefinition<TDocument>
An or span clause.
See Also