Hi

I have tried with the latest nightly build
apache-solr-4.0-2012-05-15_08-20-37

I am trying on a Windows 64 bit OS, I believe you have tested this on the
LINUX box (based on the shell script)

Not sure what I am missing, but the doesn't seem to work: 
I have changed the URL to just call the update?commit=true
Secondly, I have removed the extra quote in the URL for CURL, Windows
doesn't seem to like. 


C:\Tools\Solr\apache-solr-4.0-2012-05-15_08-20-37\example\exampledocs>C:\tools\curl\curl
http://localhost:8983/solr/update?commit=true --data-binary @books.json -H
'Content-type:application/json'

<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int
name="QTime">195</int>
</lst>
</response>

My output is 

http://localhost:8983/solr/select?q=title:monsters&wt=json&indent=true

{
  "responseHeader":{
    "status":0,
    "QTime":1,
    "params":{
      "indent":"true",
      "wt":"json",
      "q":"title:monsters"}},
  "response":{"numFound":0,"start":0,"docs":[]
  }}

Has anyone tried this with the latest nightly build on Windows 64 bit OS?

Trying to figure out what is the difference.....

Thanks
Rajesh



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Update-JSON-not-working-for-me-tp3983709p3984185.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to