Skip to content

Instantly share code, notes, and snippets.

@maxlang
Created August 19, 2013 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxlang/6274253 to your computer and use it in GitHub Desktop.
Save maxlang/6274253 to your computer and use it in GitHub Desktop.
overflow exception
curl 'http://localhost:9200/test_index_overflow/' --data '{"mappings":{"test_mapping_overflow":{"dynamic_templates":[{"templates":{"match":"*","match_mapping_type":"string","mapping":{"type":"multi_field","fields":{"{name}":{"type":"string","index":"analyzed"},"s":{"type":"string"},"l":{"type":"long","ignore_malformed":"true"},"d":{"type":"double","ignore_malformed":"true"},"o":{"type":"object"}}}}},{"templated":{"match":"*","match_mapping_type":"double","mapping":{"type":"multi_field","fields":{"{name}":{"type":"string","index":"analyzed"},"s":{"type":"string"},"l":{"type":"long","ignore_malformed":"true"},"d":{"type":"double","ignore_malformed":"true"},"o":{"type":"object"}}}}},{"templatel":{"match":"*","match_mapping_type":"long","mapping":{"type":"multi_field","fields":{"{name}":{"type":"string","index":"analyzed"},"s":{"type":"string"},"l":{"type":"long","ignore_malformed":"true"},"d":{"type":"double","ignore_malformed":"true"},"o":{"type":"object"}}}}}]}}}'
curl 'http://localhost:9200/test_index_overflow/test_mapping_overflow' -X POST --data '{"a":{"b":"c"}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment