Example usage for org.apache.solr.search QParser addDebugInfo

List of usage examples for org.apache.solr.search QParser addDebugInfo

Introduction

In this page you can find the example usage for org.apache.solr.search QParser addDebugInfo.

Prototype

public void addDebugInfo(NamedList<Object> debugInfo) 

Source Link

Usage

From source file:com.github.healthonnet.search.SynonymExpandingExtendedDismaxQParserPlugin.java

License:Apache License

/**
 * Convenience method to simplify code//from w  ww . java 2 s .  c  om
 * 
 * @param qparser
 * @return
 */
private static NamedList<Object> createDebugInfo(QParser qparser) {
    NamedList<Object> result = new NamedList<>();
    qparser.addDebugInfo(result);
    return result;
}