If u are getting below error while indexing:
{
"error": {
"root_cause": [
{
"type": "cluster_block_exception",
"reason": "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
}
If u are getting below error while indexing:
{
"error": {
"root_cause": [
{
"type": "cluster_block_exception",
"reason": "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
}
(function(document, EventTarget) { | |
var elementProto = window.Element.prototype, | |
matchesFn = elementProto.matches; | |
/* Check various vendor-prefixed versions of Element.matches */ | |
if(!matchesFn) { | |
['webkit', 'ms', 'moz'].some(function(prefix) { | |
var prefixedFn = prefix + 'MatchesSelector'; | |
if(elementProto.hasOwnProperty(prefixedFn)) { | |
matchesFn = elementProto[prefixedFn]; |