We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For airmail project, we need to support the OpenSearch API.
airmail
The date histogram OpenSearch uses the interval field:
interval
json { "size": 0, "aggs": { "logs_per_month": { "date_histogram": { "field": "@timestamp", "interval": "month" } } } }
Ref
But tantivy supports only fixed_interval or calendar_interval. This corresponds to ES API. The interval field was deprecated in version 7.
fixed_interval
calendar_interval
7
We have two solutions:
I suggest the first solution as the problem is "relatively" simple.
The text was updated successfully, but these errors were encountered:
Closed as not wanted. this feature is deprecated in both elastic and opensearch
Sorry, something went wrong.
No branches or pull requests
For
airmail
project, we need to support the OpenSearch API.The date histogram OpenSearch uses the
interval
field:Ref
But tantivy supports only
fixed_interval
orcalendar_interval
. This corresponds to ES API. Theinterval
field was deprecated in version7
.We have two solutions:
interval
field in tantivyI suggest the first solution as the problem is "relatively" simple.
The text was updated successfully, but these errors were encountered: