Excluding facet range if no value

Is there something similar to the terms facet directive "all_terms" : true for range facets? I would like to NOT return any ranges that do not have a hit associated to them.

Can't you ignore the ones with 0 count?

On Mon, Mar 26, 2012 at 2:19 PM, my3sons carey.boldenow@gmail.com wrote:

Is there something similar to the terms facet directive "all_terms" : true
for range facets? I would like to NOT return any ranges that do not have a
hit associated to them.

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/excluding-facet-range-if-no-value-tp3857993p3857993.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

Certainly we can do that, I was just hoping to not have any code at the
front-end to deal with that.

On Tuesday, March 27, 2012 8:13:44 AM UTC-5, kimchy wrote:

Can't you ignore the ones with 0 count?

On Mon, Mar 26, 2012 at 2:19 PM, my3sons wrote:

Is there something similar to the terms facet directive "all_terms" : true
for range facets? I would like to NOT return any ranges that do not have a
hit associated to them.

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/excluding-facet-range-if-no-value-tp3857993p3857993.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

I see, there is no option to exclude 0 count ranges from the range
facet..., so you need to exclude it yourself....

On Tue, Mar 27, 2012 at 4:24 PM, my3sons carey.boldenow@gmail.com wrote:

Certainly we can do that, I was just hoping to not have any code at the
front-end to deal with that.

On Tuesday, March 27, 2012 8:13:44 AM UTC-5, kimchy wrote:

Can't you ignore the ones with 0 count?

On Mon, Mar 26, 2012 at 2:19 PM, my3sons wrote:

Is there something similar to the terms facet directive "all_terms" :
true
for range facets? I would like to NOT return any ranges that do not have
a
hit associated to them.

--
View this message in context: http://elasticsearch-users.**
115913.n3.nabble.com/excluding-facet-range-if-no-
value-tp3857993p3857993.htmlhttp://elasticsearch-users.115913.n3.nabble.com/excluding-facet-range-if-no-value-tp3857993p3857993.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.