Here is the mapping I'm trying to make work:
curl -XPUT 'http://localhost:9200/historicdata/?pretty=1' -d '{"mappings" :
{"docs" : {"properties" : {"file" : {"type" : "attachment", "fields" :
{"file" : {"index" : "no"}, "title" : {"store" : "yes"}, "keywords" :
{"store" : "yes"}, "content_type" : {"store" : "yes"}, "content_length" :
{"store" : "yes"}}}}}}}'
This is the error:
{
"error" :
"NoSuchMethodError[org.elasticsearch.index.mapper.core.TypeParsers.parseMultiField(Lorg/elasticsearch/index/mapper/core/AbstractFieldMapper$Builder;Ljava/lang/String;Lorg/elasticsearch/index/mapper/Mapper$TypeParser$ParserContext;Ljava/lang/String;Ljava/lang/Object;)V]",
"status" : 500
}
--
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/20e7f48d-00bf-467c-9a2a-cd02a45bf423%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.