Example usage for org.apache.solr.handler.component QueryComponent COMPONENT_NAME

List of usage examples for org.apache.solr.handler.component QueryComponent COMPONENT_NAME

Introduction

In this page you can find the example usage for org.apache.solr.handler.component QueryComponent COMPONENT_NAME.

Prototype

String COMPONENT_NAME

To view the source code for org.apache.solr.handler.component QueryComponent COMPONENT_NAME.

Click Source Link

Usage

From source file:com.search.MySearchHandler.java

License:Apache License

protected List<String> getDefaultComponents() {
    ArrayList<String> names = new ArrayList<String>(6);
    names.add(QueryComponent.COMPONENT_NAME);
    // names.add( FacetComponent.COMPONENT_NAME );
    // names.add( MoreLikeThisComponent.COMPONENT_NAME );
    // names.add( HighlightComponent.COMPONENT_NAME );
    // names.add( StatsComponent.COMPONENT_NAME );
    // names.add( DebugComponent.COMPONENT_NAME );
    return names;
}

From source file:com.search.MySearchHandlerTest.java

License:Apache License

protected List<String> getDefaultComponents() {
    ArrayList<String> names = new ArrayList<String>(6);
    names.add(QueryComponent.COMPONENT_NAME);
    //   names.add( FacetComponent.COMPONENT_NAME );
    //   names.add( MoreLikeThisComponent.COMPONENT_NAME );
    //   names.add( HighlightComponent.COMPONENT_NAME );
    //   names.add( StatsComponent.COMPONENT_NAME );
    //   names.add( DebugComponent.COMPONENT_NAME );
    return names;
}