org.apache.lucene.queryparser.xml

Class CorePlusQueriesParser

    • Constructor Detail

      • CorePlusQueriesParser

        public CorePlusQueriesParser(Analyzer analyzer,
                                     QueryParser parser)
        Construct an XML parser that uses a single instance QueryParser for handling UserQuery tags - all parse operations are synchronized on this parser
        Parameters:
        parser - A QueryParser which will be synchronized on during parse calls.
      • CorePlusQueriesParser

        public CorePlusQueriesParser(String defaultField,
                                     Analyzer analyzer)
        Constructs an XML parser that creates a QueryParser for each UserQuery request.
        Parameters:
        defaultField - The default field name used by QueryParsers constructed for UserQuery tags