Created
August 14, 2014 10:05
-
-
Save julianhille/0073aa15e0c34c853f8c to your computer and use it in GitHub Desktop.
elasticsearch 1.3.1 null_value NPE (null pointer exception)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ES_HOST=http://localhost:9200 | |
export ES_INDEX=test | |
# delete & recreate index with defaults | |
curl -XDELETE $ES_HOST/$ES_INDEX -s -o /dev/null | |
curl -XPUT $ES_HOST/$ES_INDEX -s -o /dev/null | |
# configure the mapping of the bug type in the test index | |
curl -XPUT $ES_HOST/$ES_INDEX/bug/_mapping -d '{ | |
"bug": { | |
"properties": { | |
"exception": { | |
"null_value": null, | |
"type": "integer" | |
} | |
} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment