Class TermsQueryBuilder
- java.lang.Object
-
- org.apache.lucene.queryparser.xml.builders.TermsQueryBuilder
-
- All Implemented Interfaces:
QueryBuilder
public class TermsQueryBuilder extends java.lang.Object implements QueryBuilder
Builds a BooleanQuery from all of the terms found in the XML element using the choice of analyzer
-
-
Constructor Summary
Constructors Constructor Description TermsQueryBuilder(Analyzer analyzer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Query
getQuery(org.w3c.dom.Element e)
-
-
-
Constructor Detail
-
TermsQueryBuilder
public TermsQueryBuilder(Analyzer analyzer)
-
-
Method Detail
-
getQuery
public Query getQuery(org.w3c.dom.Element e) throws ParserException
- Specified by:
getQuery
in interfaceQueryBuilder
- Throws:
ParserException
-
-