ElasticSearch - significant term aggregation with range

I am interested to know how can I add a range for a significant terms
aggregations query. For example:

"query": {
"terms": {
"text_content": [
"range": {
"dateField": {
"from": "date1",
"to": "date2"
"aggregations": {
"significantQTypes": {
"significant_terms": {
"field": "field1",
"size": 10
"size": 0

will not work. Any suggestions on how to specify the range?

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/50f0ba07-9f76-4472-9bbd-15d774cc63f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.