Making multi level index?


(Saurabh) #1

how to make multi level index using java API . i need to make a index that
looks like
(example)

{
"tweet" : {
"properties" : {
"message" : {"type" : "string", "store" : "yes"}
}
}
}
How to do this using JAVA API.


(Shay Banon) #2

What do you mean by multi level index? What you posted is mappings.

On Wed, Jun 13, 2012 at 12:08 PM, Saurabh saurabh.k1510@gmail.com wrote:

how to make multi level index using java API . i need to make a index that
looks like
(example)

{

"tweet" : {
    "properties" : {
        "message" : {"type" : "string", "store" : "yes"}
    }
}

}
How to do this using JAVA API.


(system) #3