Class SearchSpanDefinitionBuilder<TDocument>
A builder for a span clause.
public sealed class SearchSpanDefinitionBuilder<TDocument>
  Type Parameters
TDocumentThe type of the document.
- Inheritance
 - 
      
      SearchSpanDefinitionBuilder<TDocument>
 
- Inherited Members
 
Methods
- First(SearchSpanDefinition<TDocument>, int)
 Creates a span clause that matches near the beginning of the string.
- Near(IEnumerable<SearchSpanDefinition<TDocument>>, int, bool)
 Creates a span clause that matches multiple string found near each other.
- Or(params SearchSpanDefinition<TDocument>[])
 Creates a span clause that matches any of its subclauses.
- Or(IEnumerable<SearchSpanDefinition<TDocument>>)
 Creates a span clause that matches any of its subclauses.
- Subtract(SearchSpanDefinition<TDocument>, SearchSpanDefinition<TDocument>)
 Creates a span clause that excludes certain strings from the search results.
- Term(SearchPathDefinition<TDocument>, SearchQueryDefinition)
 Creates a span clause that matches a single term.
- Term<TField>(Expression<Func<TDocument, TField>>, SearchQueryDefinition)
 Creates a span clause that matches a single term.