I have a default-mapping.json file working fine in Ubuntu by placing it in
/usr/local/elasticsearch/config/.
I also have Centos install of ES, but I can't figure out where to put the
default-mapping.json file. I have tried /usr/share/elasticsearch/config/
and /etc/elasticsearch/config/. Neither cause the mapping to take affect.
Could have something to do with naming the cluster something other than
elasticsearch?
There is no /usr/local/elasticsearch/ on the Centos system.
The directory to place default-mapping.json in was /etc/elasticsearch/
On Monday, December 30, 2013 10:10:37 AM UTC-7, Jay Wilson wrote:
I have a default-mapping.json file working fine in Ubuntu by placing it in
/usr/local/elasticsearch/config/.
I also have Centos install of ES, but I can't figure out where to put the
default-mapping.json file. I have tried /usr/share/elasticsearch/config/
and /etc/elasticsearch/config/. Neither cause the mapping to take affect.
Could have something to do with naming the cluster something other than
elasticsearch?
There is no /usr/local/elasticsearch/ on the Centos system.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.