[x] The commit(s) message(s) follows the contribution guidelines ?
[x] Tests for the changes have been added (for bug fixes / features) ?
[ ] Docs have been added / updated (for bug fixes / features) ?
Current behavior :
Metadata queries do not support filtering based on metric type using _type_ filter
New behavior :
Added support.
Note that only new documents of persisted downsample index will have the type field. Index needs to be rebuilt if full support is needed. Can be skipped if metadata queries don't hit downsample index.
Pull Request checklist
Current behavior : Metadata queries do not support filtering based on metric type using
_type_
filterNew behavior : Added support. Note that only new documents of persisted downsample index will have the type field. Index needs to be rebuilt if full support is needed. Can be skipped if metadata queries don't hit downsample index.