I am reading this article https://cloudant.com/blog/mango-json-vs-text-indexes and I would like to create a TEXT index in my CouchDB
On the Fauxton → Mango Indexes page, I posted
{
"index": {
"fields": [
{
"name": "id_str",
"type": "number"
}
]
},
"name": "doc_id",
"type": "text"
}
... but received error 503 with the following message:
{"error":"required index service unavailable","reason":"text"}
I was unable to find any related information in my documentation and I feel really lost right now.
So:
- How to create a TEXT index in CouchDB?
- Where can I find a decent introduction to indexes in CouchDB?
Please help, thanks.
source
share