Class TermsQueryBuilder
Builds a Lucene.Net.Search.BooleanQuery from all of the terms found in the XML element using the choice of analyzer
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Xml.Builders
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class TermsQueryBuilder : IQueryBuilder
Constructors
TermsQueryBuilder(Analyzer)
Builds a Lucene.Net.Search.BooleanQuery from all of the terms found in the XML element using the choice of analyzer
Declaration
public TermsQueryBuilder(Analyzer analyzer)
Parameters
| Type | Name | Description |
|---|---|---|
| Analyzer | analyzer |
Methods
GetQuery(XmlElement)
Builds a Lucene.Net.Search.BooleanQuery from all of the terms found in the XML element using the choice of analyzer
Declaration
public virtual Query GetQuery(XmlElement e)
Parameters
| Type | Name | Description |
|---|---|---|
| XmlElement | e |
Returns
| Type | Description |
|---|---|
| Query |