Example usage for org.apache.solr.search QParserPlugin standardPlugins

List of usage examples for org.apache.solr.search QParserPlugin standardPlugins

Introduction

In this page you can find the example usage for org.apache.solr.search QParserPlugin standardPlugins.

Prototype

Map standardPlugins

To view the source code for org.apache.solr.search QParserPlugin standardPlugins.

Click Source Link

Document

Internal use - name to parser for the builtin parsers.

Usage

From source file:org.tallison.solr.search.QueryEqualityTest.java

License:Apache License

/** @see #testParserCoverage */
@AfterClass/*from w ww.ja v a 2  s  .c om*/
public static void afterClassParserCoverageTest() {

    if (!doAssertParserCoverage)
        return;
    for (String name : QParserPlugin.standardPlugins.keySet()) {
        assertTrue("testParserCoverage was run w/o any other method explicitly testing qparser: " + name,
                qParsersTested.contains(name));
    }

    for (final String name : ValueSourceParser.standardValueSourceParsers.keySet()) {
        assertTrue("testParserCoverage was run w/o any other method explicitly testing val parser: " + name,
                valParsersTested.contains(name));
    }

}