We have a use case to find out the expiration time of the document. I have created a view to get the metadata from the bucket. But what is the best approach to get the expiration value as we are not storing the Json and we are not sure how View will perform in the production environment.
@couchbaseuser721 currently the only real way to get it is via a view, and you could make sure to only have that in the index and nothing else if you are concerned about size /non-json. Also key-lookups are quite efficient in a b-tree that is the underlying storage, so I think you should be good.