org.apache.solr.handler.component
Class PivotFacetHelper

java.lang.Object
  extended by org.apache.solr.request.SimpleFacets
      extended by org.apache.solr.handler.component.PivotFacetHelper

public class PivotFacetHelper
extends SimpleFacets

Since:
solr 4.0

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.solr.request.SimpleFacets
SimpleFacets.CountPair<K extends Comparable<? super K>,V extends Comparable<? super V>>
 
Field Summary
protected  int minMatch
           
 
Fields inherited from class org.apache.solr.request.SimpleFacets
docs, docsOrig, facetResponse, facetValue, key, localParams, params, rb, req, required, searcher, threads
 
Constructor Summary
PivotFacetHelper(SolrQueryRequest req, DocSet docs, SolrParams params, ResponseBuilder rb)
           
 
Method Summary
protected  List<NamedList<Object>> doPivots(NamedList<Integer> superFacets, String field, String subField, Deque<String> fnames, DocSet docs)
          Recursive function to do all the pivots
 SimpleOrderedMap<List<NamedList<Object>>> process(String[] pivots)
           
 
Methods inherited from class org.apache.solr.request.SimpleFacets
getFacetCounts, getFacetDateCounts, getFacetDateCounts, getFacetFieldCounts, getFacetQueryCounts, getFacetRangeCounts, getFacetTermEnumCounts, getFieldCacheCounts, getFieldMissingCount, getGroupedCounts, getGroupedFacetQueryCount, getTermCounts, parseParams, rangeCount, rangeCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minMatch

protected int minMatch
Constructor Detail

PivotFacetHelper

public PivotFacetHelper(SolrQueryRequest req,
                        DocSet docs,
                        SolrParams params,
                        ResponseBuilder rb)
Method Detail

process

public SimpleOrderedMap<List<NamedList<Object>>> process(String[] pivots)
                                                  throws IOException
Throws:
IOException

doPivots

protected List<NamedList<Object>> doPivots(NamedList<Integer> superFacets,
                                           String field,
                                           String subField,
                                           Deque<String> fnames,
                                           DocSet docs)
                                    throws IOException
Recursive function to do all the pivots

Throws:
IOException


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.