Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:
sysctl -a | grep machdep.cpu.features | grep VMX
If there's output, you're good!
// es6 syntax | |
var arr = ["a","b","c"]; | |
var str = "Hello {1} is a friend of {2} and {3}"; | |
var result_es6 = arr.reduce((str_data, replacement, idx) => { | |
return str_data.replace(`{${idx + 1}}`, replacement) | |
}, str); | |
console.log(result_es6); // "Hello a is a friend of b and c" |
Several times in a month there pop up questions regarding query structure on the ElasticSearch user group. | |
Although there are good docs explaining this in depth probably the bird view of the Query DSL is necessary to | |
understand what is written there. There is even already some good external documentation available: | |
http://www.elasticsearch.org/tutorials/2011/08/28/query-dsl-explained.html | |
And there were attempts to define a schema: | |
http://groups.google.com/group/json-schema/browse_thread/thread/ae498ee818155d50 | |
https://gist.github.com/8887766ca0e7052814b0 |