Java Code Examples for org.apache.solr.search.QParserPlugin#createParser()
The following examples show how to use
org.apache.solr.search.QParserPlugin#createParser() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestXJoinQParserPlugin.java From BioSolr with Apache License 2.0 | 5 votes |
private static Query parse(String v) throws SyntaxError { ModifiableSolrParams localParams = new ModifiableSolrParams(); localParams.add(QueryParsing.V, v); QParserPlugin qpp = core.getQueryPlugin(PARSER_NAME); QParser qp = qpp.createParser(null, localParams, null, req); return qp.parse(); }
Example 2
Source File: TestXJoinQParserPlugin.java From BioSolr with Apache License 2.0 | 5 votes |
private static Query parse(String v) throws SyntaxError { ModifiableSolrParams localParams = new ModifiableSolrParams(); localParams.add(QueryParsing.V, v); QParserPlugin qpp = core.getQueryPlugin(PARSER_NAME); QParser qp = qpp.createParser(null, localParams, null, req); return qp.parse(); }
Example 3
Source File: TestXJoinQParserPlugin.java From BioSolr with Apache License 2.0 | 5 votes |
private static Query parse(String v) throws SyntaxError { ModifiableSolrParams localParams = new ModifiableSolrParams(); localParams.add(QueryParsing.V, v); QParserPlugin qpp = core.getQueryPlugin(PARSER_NAME); QParser qp = qpp.createParser(null, localParams, null, req); return qp.parse(); }