You can not mix both syntax (as a http parameter and as a body).

-- 
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr


Le 6 mars 2014 à 10:18:58, robin thakur ([email protected]) a écrit:

I run this  

curl -XGET 'http://127.0.0.1:9200/productindex/_search?q='+productName -d
    {
     "highlight" : {
           "fields" : "product.name"
                    }
    };


--
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/3be879e4-4011-4111-ad02-04f91ed14f5c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
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/etPan.53183e0d.2d517796.7bfa%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to