Hello, I've tried this now, I found it on an issue that you, David, opened up with the plugin.: curl -XPUT 'http://localhost:9200/historicdata/_mappings/docs' -d '{"docs" : {"properties" : {"file" : {"type" : "attachment", "path" : "full", "fields" : {"file" : {"type" : "multifield", "fields" : {"file" : {"index" : "no"}, "title" : {"type" : "string", "store" : "yes"}}}}}}}}' {"error" : "NullPointerException[null]", "status" : 500}
curl -XPUT 'http://localhost:9200/historicdata/?pretty=1' -d '{"mappings : {"docs" : {"properties" : {"file" : {"type" : "attachment", "path" : "full", "fields" : {"file" : {"type" : "multifield", "fields" : {"file" : {"index" : "no"}, "title" : {"type" : "string", "store" : "yes"}}}}}}}}}' {"error" : "MapperParsingException[mapping [docs]]; nested: NullPointerException; ", "status" : "400"} Please let me know if you know what the issue is Thank you, Austin On Wednesday, March 4, 2015 at 10:00:44 AM UTC-6, Austin Harmon wrote: > > 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/1b148aa2-4c8f-450a-9cd4-c513d1587359%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
