List of usage examples for org.apache.solr.handler.component QueryComponent COMPONENT_NAME
String COMPONENT_NAME
To view the source code for org.apache.solr.handler.component QueryComponent COMPONENT_NAME.
Click Source Link
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; }