I'm reading this article https://cloudant.com/blog/mango-json-vs-text-indexes and I would like to create a TEXT index in my CouchDB
In the Fauxton -> Mango Indexes page, I posted
{
"index": {
"fields": [
{
"name": "id_str",
"type": "number"
}
]
},
"name": "doc_id",
"type": "text"
}
...but got a 503 error with the following message:
{"error":"required index service unavailable","reason":"text"}
I wasn't able to find even any related info in their documentation and I feel really lost now.
So:
- How to create a TEXT index in CouchDB?
- Where can I find a decent introduction to indexes in CouchDB?
Please help, thanks.
required index service unavailable
orinvalid_index
– Unletteredjson
index? – Unlettered