filodb / FiloDB

Distributed Prometheus time series database
Apache License 2.0
1.43k stars 225 forks source link

feat(core): Do not index any existing _type_ field since it is a reserved field #1842

Closed vishramachandran closed 1 month ago

vishramachandran commented 1 month ago

Pull Request checklist

Addition of _type_ field to index is now configurable for each cluster, false by default for now. Also, if the part-key already has the _type_ field we don't index that since it is a reserved field that we populate.

rfairfax commented 1 month ago

We will need to merge this logic into the tantivy branch and adjust the tantivy code to honor it - let me know once this is in develop and I'll handle that.