Hi,
This might be a n00bie error, but I have a mapping of:
"mappings": {
"myindex": {
"properties": {
"json": {
"type": "string",
"index": "no"
}
}
}
}
I want to store the 'json' field but do not need to search on it. Looking at the docs here: Mapping | Elasticsearch: The Definitive Guide [2.x] | Elastic
Then as I understand it, I should be able to use "no" as a value for "index", however, this causes an error of:
org.elasticsearch.index.mapper.MapperParsingException: wrong value for index [false] for field [json]
I definitely have "no" in the field not false as shown in the message. I've tried "not_analyzed" and that works fine. I've also tried "false" but that gives the same error. I've also tried using a different field name in case 'json' is a reserved field but that didn't make a difference.
Thanks for any thoughts