crump
crump copied to clipboard
Elasticsearch error on 4_amendments' shares_auth
When bulk importing the content for 4_amendments into Elasticsearch, it provides the following error:
"error":"MapperParsingException[No handler for type [text] declared on field [shares_auth]]"
Here's the definition of that Elasticsearch type:
{
"properties": {
"amendment_type": {
"type": "string"
},
"amended": {
"type": "string"
},
"shares_auth": {
"type": "text"
},
"stock_info": {
"type": "string"
},
"date": {
"type": "date"
},
"stock_class": {
"type": "string"
},
"id": {
"index": "not_analyzed",
"type": "string"
}
}
}
This cropped up after—and surely as a result of—#97.