SearchDefinitionBuilderTDocumentSpan Method |
Creates a search definition that finds text search matches within regions of a text
field.
Namespace:
MongoDB.Driver.Search
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax public SearchDefinition<TDocument> Span(
SearchSpanDefinition<TDocument> clause
)
Public Function Span (
clause As SearchSpanDefinition(Of TDocument)
) As SearchDefinition(Of TDocument)
member Span :
clause : SearchSpanDefinition<'TDocument> -> SearchDefinition<'TDocument>
Parameters
- clause
- Type: MongoDB.Driver.SearchSearchSpanDefinitionTDocument
The span clause.
Return Value
Type:
SearchDefinitionTDocumentA span search definition.
See Also