List of usage examples for org.apache.solr.search StrParser StrParser
public StrParser(String val)
From source file:org.tallison.solr.search.QueryEqualityTest.java
License:Apache License
/** * the function name for val parser coverage checking is extracted from * the first input//from w w w . j a v a 2s.com * @see #assertQueryEquals * @see #testParserCoverage */ protected void assertFuncEquals(final SolrQueryRequest req, final String... inputs) throws Exception { // pull out the function name final String funcName = (new StrParser(inputs[0])).getId(); valParsersTested.add(funcName); assertQueryEquals(FunctionQParserPlugin.NAME, req, inputs); }