if I am running the above command it is showing SearchPhaseExecutionException 
error ... but the command you have suggested working fine.
Thanks.







On Tuesday, 4 February 2014 14:24:39 UTC+5:30, Jayesh Bhoyar wrote:
>
> Hi Navneet,
>
> What error you are getting while running above command?
>
> Try following Query:
> curl -XPOST "localhost:9200/indexName/indexType/_search?pretty=true" -d ' 
> { 
>   "query" : { 
>     "boosting" : { 
>         "positive" : { 
>             "term" : { 
>                 "name" : "kamal" 
>             } 
>         }, 
>         "negative" : { 
>             "term" : { 
>                 "email" : "abc"
>             } 
>         }, 
>         "negative_boost" : 0.5 
>     } 
>   } 
> } 
>
> -------------------
>
>

-- 
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/429f456d-787c-4e28-b70f-e45022d308c3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to