Click on a location and the flyTo
method will zoom and pan to that particular place.
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
html { | |
color:red; | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | |
</head> | |
<body> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.6.0"></script> | |
<script type="text/javascript"> | |
var svg = d3.select("body").append("svg") |
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
<!-- index.html --> | |
<div>TEST</div> |
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
curl 'http://localhost:9200/test_props/' --data '{"mappings":{"test_mapping_exception":{"dynamic_templates":[{"template_s":{"path_match":"properties.*","path_unmatch":"properties.*.*","match_mapping_type":"string","mapping":{"type":"multi_field","fields":{"{name}":{"type":"string","index":"not_analyzed"},"s":{"type":"string"},"l":{"type":"long","ignore_malformed":"true"},"d":{"type":"double","ignore_malformed":"true"}}}}},{"template_d":{"path_match":"properties.*","path_unmatch":"properties.*.*","match_mapping_type":"double","mapping":{"type":"multi_field","fields":{"{name}":{"type":"string","index":"not_analyzed"},"s":{"type":"string"},"l":{"type":"long","ignore_malformed":"true"},"d":{"type":"double","ignore_malformed":"true"}}}}},{"template_l":{"path_match":"properties.*","path_unmatch":"properties.*.*","match_mapping_type":"long","mapping":{"type":"multi_field","fields":{"{name}":{"type":"string","index":"not_analyzed"},"s":{"type":"string"},"l":{"type":"long","ignore_malformed":"true"},"d":{"type":"doubl |
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
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_overfl |
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
curl 'http://localhost:9200/text_index/test_type' -X POST --data '{"a":1}' | |
curl 'http://localhost:9200/text_index/test_type' -X POST --data '{"a":{"z":1}}' |