[Midas] solr error from web api

Mona Wong mona at sdsc.edu
Thu Aug 23 23:07:13 EDT 2012


	My plugin made the following request to the Midas web api:

	https://ourserver.edu/api/json?method=midas.item.create&useSession&parentid=668&name=test.nii.axml&privacy=Private

	The request.responseText that came back said:

Warning: file_get_contents(http://localhost:8983/solr/select?wt=json&json.nl=map&q=id%3A+item_62857&start=0&rows=99999): failed to open stream: Connection refused<br/>
 on line 95 in file /data/Midas3/modules/solr/library/Apache/Solr/HttpTransport/FileGetContents.php<br/>
{"stat":"ok","code":"0","message":"","data":{"item_id":"62857","name":"test.nii.axml","description":"","type":0,"sizebytes":null,"date_creation":"2012-08-23T22:50:25-04:00","date_update":"2012-08-23T22:50:25-04:00","thumbnail_id":null,"view":null,"download":null,"privacy_status":2,"uuid":"5036ebf15e91fc9139af9091d57c922c6e1b20deeff1e"}}

	Um, I'm not sure what's causing the problem?  My code?  Our Solr configuration?  The Solr code?  The web API?

Mona


*********************************************
    Mona Wong
    Web & iPad Application Developer
    San Diego Supercomputer Center

    "Forgive everyone everything."
				-- Regina Brett
*********************************************




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120823/9c647994/attachment.html>


More information about the Midas mailing list