crump icon indicating copy to clipboard operation
crump copied to clipboard

Elasticsearch error on 4_amendments' shares_auth

Open waldoj opened this issue 10 years ago • 0 comments

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.

waldoj avatar Mar 02 '15 16:03 waldoj