TransportError(403, u’cluster_block_exception’, u’blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];’)

Try GET yourindex/_settings, this will show yourindex settings. If read_only_allow_delete is true, then try: PUT /<yourindex>/_settings { “index.blocks.read_only_allow_delete”: null } I got my issue fixed. plz refer to es config guide for more detail. The curl command for this is curl -X PUT “localhost:9200/twitter/_settings?pretty” -H ‘Content-Type: application/json’ -d ‘ { “index.blocks.read_only_allow_delete”: null }’

Is there a way to make elasticsearch case-insensitive without altering the existing documents?

By Default, the fields are case-insensitive because of the mapping elastic applied. Try below: PUT myindex/doc/1 { “name”:”TEST” } GET myindex/_mapping It should return : { “myindex”: { “mappings”: { “doc”: { “properties”: { “name”: { “type”: “text”, “fields”: { “keyword”: { “type”: “keyword”, “ignore_above”: 256 } } } } } } } } Now … Read more

How to Do a Mapping of Array of Strings in Elasticsearch

In Elasticsearch, there is no dedicated array type. Any field can contain zero or more values by default, however, all values in the array must be of the same datatype. So you don’t have to specify anything specific in the mapping to store an array of values. For more information look at: https://www.elastic.co/guide/en/elasticsearch/reference/current/array.html

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)