Class SpanOrTermsBuilder
Builder that analyzes the text into a Lucene.Net.Search.Spans.SpanOrQuery
Inherited Members
Namespace: Lucene.Net.QueryParsers.Xml.Builders
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class SpanOrTermsBuilder : SpanBuilderBase, ISpanQueryBuilder, IQueryBuilder
Constructors
SpanOrTermsBuilder(Analyzer)
Builder that analyzes the text into a Lucene.Net.Search.Spans.SpanOrQuery
Declaration
public SpanOrTermsBuilder(Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | analyzer |
Methods
GetSpanQuery(XmlElement)
LUCENENET specific - must provide declaration of GetSpanQuery to satisfy contract of ISpanQueryBuilder
Declaration
public override SpanQuery GetSpanQuery(XmlElement e)
Parameters
Type | Name | Description |
---|---|---|
XmlElement | e |
Returns
Type | Description |
---|---|
SpanQuery |