Closed yapjinkun closed 3 years ago
I have a very similar issue. I would like to do the same with disabling date detection. https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic-field-mapping.html#_disabling_date_detection
It seems like we cannot add these parameters into the mapping.
Hey guys, it's not possible at the moment. I'll add it to my to-do list.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
Hi all, it is now possible with new raw
methods, for example, Index::putMappingRaw()
.
Anyway to disable the dynamic mapping?
Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic.html