Package org.apache.solr.search

Examples of org.apache.solr.search.LuceneQParserPlugin


        NLSQueryAnalyzer nlsQueryAnalyzer = new NLSQueryAnalyzer(cas);
        if (nlsQueryAnalyzer.isNLSQuery(qstr)) {
          explicitNLSQuery = new NLSQueryTranslator().createNLSExplicitQueryString(qstr, nlsQueryAnalyzer);
          cache.put(qstr, explicitNLSQuery);
          return new LuceneQParserPlugin().createParser(explicitNLSQuery, localParams, params, req).parse();
        } else {
          return super.parse();
        }
      } else
        return new LuceneQParserPlugin().createParser(explicitNLSQuery, localParams, params, req).parse();

    }
View Full Code Here

TOP

Related Classes of org.apache.solr.search.LuceneQParserPlugin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.