Setting all recursive values under a field as not_analyzed

Hi ,

Is it possible to set all recursive values under a field as not_analyzed.

That is i have a a filed say A like below.

"A" : {

"B" : "x" ,

"C" : { "D" : "y" }
}

I want values x and y as not analyzed.

Not just x and y but any variable value under the field A.

Thanks
Vineeth