Class BucketJsonFacet
- java.lang.Object
- 
- org.apache.solr.client.solrj.response.json.NestableJsonFacet
- 
- org.apache.solr.client.solrj.response.json.BucketJsonFacet
 
 
- 
 public class BucketJsonFacet extends NestableJsonFacet Represents an individual bucket result of a "term" or "range" facet. Allows access to JSON like:{ "val": "termX", "count": 10, "subfacetName": ... }Buckets may contain nested facets of any type. 
- 
- 
Constructor SummaryConstructors Constructor Description BucketJsonFacet(NamedList<Object> singleBucket)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<String>getKeysToSkip()ObjectgetVal()Retrieves the value (sometimes called the "key") of this bucket.- 
Methods inherited from class org.apache.solr.client.solrj.response.json.NestableJsonFacetgetBucketBasedFacetNames, getBucketBasedFacets, getCount, getHeatmapFacetByName, getHeatmapFacetNames, getQueryFacet, getQueryFacetNames, getStatFacetNames, getStatFacetValue
 
- 
 
- 
- 
- 
Method Detail- 
getValpublic Object getVal() Retrieves the value (sometimes called the "key") of this bucket. The type of this object depends on the type of field being faceted on. Usually a Date, Double, Integer, or String
 - 
getKeysToSkipprotected Set<String> getKeysToSkip() - Overrides:
- getKeysToSkipin class- NestableJsonFacet
 
 
- 
 
-