Class TermsQueryBuilder
- java.lang.Object
-
- org.apache.lucene.xmlparser.builders.TermsQueryBuilder
-
- All Implemented Interfaces:
QueryBuilder
public class TermsQueryBuilder extends 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(org.apache.lucene.analysis.Analyzer analyzer)
-
-
-
Method Detail
-
getQuery
public org.apache.lucene.search.Query getQuery(Element e) throws ParserException
- Specified by:
getQuery
in interfaceQueryBuilder
- Throws:
ParserException
-
-