Example usage for org.apache.solr.search SignificantTermsQParserPlugin NAME

List of usage examples for org.apache.solr.search SignificantTermsQParserPlugin NAME

Introduction

In this page you can find the example usage for org.apache.solr.search SignificantTermsQParserPlugin NAME.

Prototype

String NAME

To view the source code for org.apache.solr.search SignificantTermsQParserPlugin NAME.

Click Source Link

Usage

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

License:Apache License

public void testSignificantTermsQuery() throws Exception {
    SolrQueryRequest req = req("q", "*:*");
    try {//  w ww . j  a v  a  2  s. c  o m
        assertQueryEquals(SignificantTermsQParserPlugin.NAME, req,
                "{!" + SignificantTermsQParserPlugin.NAME + "}");
    } finally {
        req.close();
    }
}