I have a search index named _design/filters
in Cloudant that has the following:
index("active", doc.active, {"store": true, "index": false });
My document looks like this:
{ "_id": "12345", "active": false }
When I do a retrieval I get the active
property as a string and not a boolean. Is there a way I can make it so it returns a boolean?