Interval to facet on when faceting on date properties See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#calendar_intervals # noqa for available options for possible values
(self, name)
| 179 | return self.get("facet_type:%s" % name) |
| 180 | |
| 181 | def get_facet_interval(self, name): |
| 182 | """Interval to facet on when faceting on date properties |
| 183 | |
| 184 | See https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-datehistogram-aggregation.html#calendar_intervals # noqa |
| 185 | for available options for possible values |
| 186 | """ |
| 187 | return self.get("facet_interval:%s" % name) |
| 188 | |
| 189 | def to_dict(self): |
| 190 | parser = super(SearchQueryParser, self).to_dict() |
no test coverage detected