Hi ,
     i have some indexed fields like: {  text:some text, id:123, 
author:mahesh },{  text:some text, id:124, author:rajesh }.........{},i 
want to search a "word" from the object where author is mahesh not in other 
objects by elasticsearch using node ...please help me how to prepare a 
query object.


currently i am using this query which returns matches from all indexed 
fields but i want to search a keyword in a particular author

query:

{"query" : {
         term:{text:"grade"}        
    }

}


-- 
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/4258c8fb-c552-42c8-82d1-1391929bcf5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to