Hi david ,

Your query is working but thats not what I want. What i want is to return 
record of laptop that with laptopModelId "Vostro" AND sellAdState should be 
"Karnataka".

laptopModelId and sellAdState will always be under different _types.

Shall I change my data schema and make it in under same _type ?

I have around 70-80 fields. will it be efficient to put all these fields 
inside same _type so that 

    laptopModelId:"Vostro" AND sellAdState:"Karnataka"

can be executed?

or Is there any other solution to my previous given data format?

-- 
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/684f82b8-4990-45bc-bb37-2331b187c82f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to