Hello Yes, sure, sorry for being quite unclear. Let me try to explin the issue better:
Imagine I'm defining the following mapping: curl -XPUT 'http://localhost:9200/inteco5/inteco5/_mapping' -d '{ "inteco5" : { "dynamic_templates" : [ { "date_fields" : { "match" : "*Date*", "mapping" : { "type" : "date", "format" : "dateOptionalTime" } } }, { "location": { "match" : "asasec_loc", "mapping" : { "type": "geo_point" } } }, { "string_generic" : { "match" : "*", "unmatch" : "Hash", "mapping" : { "type" : "string" } } } ] } }' For sure it works, but what if I want to define in the string part that every keyword shall be string except those keys named Hash AND video_hash ? Then, it should be like "match" : "*", "unmatch" : ["Hash", "video_hash"], but it does not work at all. Hopefully It is now clearer. Do you have any idea on how to specify it? Thanks a lot. Joaquin El jueves, 10 de julio de 2014 19:47:01 UTC+2, vineeth mohan escribió: > > Hello Joaquin , > > Your question is not very clear. > Can you brief it once more. > > Thanks > Vineeth > > > On Thu, Jul 10, 2014 at 9:58 PM, JB Mere <[email protected] <javascript:>> > wrote: > >> Hello to everybody and sorry for this, maybe naive question. >> >> I'm defining a mapping for an ES 1.X index database >> >> My interest should be to do like: >> ... >> "unmatch" : ["Hash","video_hash"], >> "match" : "*", >> ... >> >> but unfortunately it doesn't work? >> >> Can you figure out how to get it done ? >> >> Thanks in advance >> >> Joaquin >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/6c6fbcf6-40b4-447f-b09d-5d74ad67a1a9%40googlegroups.com >> >> <https://groups.google.com/d/msgid/elasticsearch/6c6fbcf6-40b4-447f-b09d-5d74ad67a1a9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/497dff13-514d-4944-8d2f-0c1146d05487%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
