@InterfaceStability.Experimental @InterfaceAudience.Public public class NumericRangeFacet extends SearchFacet
A facet that categorizes hits into numerical ranges (or buckets) provided by the user.
Modifier | Constructor and Description |
---|---|
protected |
NumericRangeFacet(String field,
int limit) |
Modifier and Type | Method and Description |
---|---|
NumericRangeFacet |
addRange(String name,
Double min,
Double max) |
protected void |
checkRange(String name,
Double min,
Double max) |
void |
injectParams(JsonObject queryJson) |
date, numeric, term
protected NumericRangeFacet(String field, int limit)
public NumericRangeFacet addRange(String name, Double min, Double max)
public void injectParams(JsonObject queryJson)
injectParams
in class SearchFacet
Copyright © 2015 Couchbase, Inc.