This does not look as correct JSON.

Could you gist a full SENSE script?

It will help to understand what you did so far and where is your issue.

--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs


Le 14 août 2014 à 07:15, "K.Samanth Kumar Reddy" <[email protected]> a 
écrit :

Hi,

I am using elasticsearch for last 6 months. This is awesome framework. 
I am unable to search on array of documents.

ex:-  Index documents 

{
    cust_name: "samanth"address: [{
                    address1: "india hyderabad"
                },
                {
                    address1: "india delhi"
                },
                {
                    address1: "india chennai"
                },
                {
                    address1: "india bangalore"
                }
    ]
}

{
    cust_name: "Rama"address: [{
                    address1: "india Kolkata"
                },
                {
                    address1: "india bangalore"
                }
    ]
}

I want to search on "address1" field.

Can anybody help me on this?

Thanks & Regards,
Samanth
-- 
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/d3ffa90d-f49c-43dc-b128-d9c38a13a6f0%40googlegroups.com.
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/00281B3D-0C95-483F-BDDB-3241825F19EE%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to