Update _meta for a type


(Bibin Abraham) #1

Is it possible to update the _meta for a index type?

Thanks

bin :slight_smile:

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #2

Hey,

did anything like this not work as you expected?

curl -X PUT localhost:9200/tweets/

curl -X PUT localhost:9200/tweets/tweet/_mapping -d '{
"tweet" : {
"_meta" : {
"attr1" : "value1",
"attr2" : {
"attr3" : "value3"
}
}
}
}
'

curl -X GET localhost:9200/tweets/tweet/_mapping

curl -X PUT localhost:9200/tweets/tweet/_mapping -d '{
"tweet" : {
"_meta" : {
"attr1" : "value1",
"attr2" : {
"attr4" : "value4"
}
}
}
}
'

curl -X GET localhost:9200/tweets/tweet/_mapping

--Alex

On Sun, Nov 10, 2013 at 6:15 AM, bin bibin.abraham.dev@gmail.com wrote:

Is it possible to update the _meta for a index type?

Thanks

bin :slight_smile:

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3