elasticsearch_mappings.json is not installed if Elasticsearch support is compiled in. This is a regression in 4.16 and master. Have patch, need bugnumber.
This bug was referenced in samba master: 0eecfddd071ea54844c56516dd7adc761be03c27
Created attachment 17139 [details] Patch for 4.16 cherry-picked from master
Pushed to autobuild-v4-16-test
This bug was referenced in samba v4-16-test: c278515c492a1b9ca842e809120ecf3a1328d112
This bug was referenced in samba v4-16-stable (Release samba-4.16.0rc2): c278515c492a1b9ca842e809120ecf3a1328d112