org.apache.solr.search.facet.FacetModule Java Examples
The following examples show how to use
org.apache.solr.search.facet.FacetModule.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AlfrescoSearchHandler.java From SearchServices with GNU Lesser General Public License v3.0 | 5 votes |
protected List<String> getDefaultComponents() { ArrayList<String> names = new ArrayList<>(8); names.add(QueryComponent.COMPONENT_NAME); names.add(FacetComponent.COMPONENT_NAME); names.add(FacetModule.COMPONENT_NAME); names.add(MoreLikeThisComponent.COMPONENT_NAME); names.add(HighlightComponent.COMPONENT_NAME); names.add(StatsComponent.COMPONENT_NAME); names.add(DebugComponent.COMPONENT_NAME); names.add(ExpandComponent.COMPONENT_NAME); return names; }
Example #2
Source File: SearchHandler.java From lucene-solr with Apache License 2.0 | 5 votes |
protected List<String> getDefaultComponents() { ArrayList<String> names = new ArrayList<>(8); names.add(QueryComponent.COMPONENT_NAME); names.add(FacetComponent.COMPONENT_NAME); names.add(FacetModule.COMPONENT_NAME); names.add(MoreLikeThisComponent.COMPONENT_NAME); names.add(HighlightComponent.COMPONENT_NAME); names.add(StatsComponent.COMPONENT_NAME); names.add(DebugComponent.COMPONENT_NAME); names.add(ExpandComponent.COMPONENT_NAME); names.add(TermsComponent.COMPONENT_NAME); return names; }
Example #3
Source File: AggregationWaitable.java From semantic-knowledge-graph with Apache License 2.0 | 5 votes |
public void aggregate() throws IOException { FacetModule mod = new FacetModule(); SolrQueryResponse resp = new SolrQueryResponse(); ResponseBuilder rb = getResponseBuilder(resp); mod.prepare(rb); mod.process(rb); parseResponse(resp); }