Shay,
I retried the same setup mutliple times and then restarted the elastic
search.
However, the mapping file is not picked up.
This is what i did.
1) created a mapping file "datastore.json" with the following configuration
{"datastore":{"_source":{"enabled":false},"properties":{"data1":{"type":"string","store":"yes","index":"not_analyzed"}}}}.
2) Copied under /config/mappings/es/datastore.json
3) Deleted the existing mappings under the type 'datastore'.
4) Restarted the elasticsearch.
Kindly verify.
--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/HELP-how-to-disable-source-and-only-allow-a-couple-of-fields-to-be-stored-tp3998016p4063667.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1410979208995-4063667.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.