Re: CURL command problem on Solr

2018-05-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Roee, On 5/30/18 3:38 AM, Roee T wrote: > Thank you so much all of you the following worked for me! > > curl -X PUT -H "Content-Type: application/json" -d > "@Myfeatures.json" > "http://localhost:8983/solr/techproducts/schema/feature-store"; Curl

Re: CURL command problem on Solr

2018-05-30 Thread Roee T
Thank you so much all of you the following worked for me! curl -X PUT -H "Content-Type: application/json" -d "@Myfeatures.json" "http://localhost:8983/solr/techproducts/schema/feature-store"; -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: CURL command problem on Solr

2018-05-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Roee, On 5/29/18 11:02 AM, Roee Tarab wrote: > I am having some troubles with pushing a features file to solr > while building an LTR model. I'm trying to upload a JSON file on > windows cmd executable from an already installed CURL folder, with > t

Re: CURL command problem on Solr

2018-05-29 Thread chris
HTTP headers are case insensitive Original message From: simon Date: 5/29/18 12:17 PM (GMT-05:00) To: solr-user Subject: Re: CURL command problem on Solr Could it be that the header should be 'Content-Type' (which is what I see in the relevant RFC) rather tha

Re: CURL command problem on Solr

2018-05-29 Thread simon
Could it be that the header should be 'Content-Type' (which is what I see in the relevant RFC) rather than 'Content-type' as shown in your email ? I don't know if headers are case-sensitive, but it's worth checking. -Simon On Tue, May 29, 2018 at 11:02 AM, Roee Tarab wrote: > Hi , > > I am havi