Please, always reply to the mailing list. Regarding access control, here's what you need: https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Tomcat-specificinstructions
Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Mon, Mar 10, 2014 at 7:18 PM, Shaun Donovan <[email protected]> wrote: > Ah, never mind, my stupidity. I was using wget to test and did not put the > url in quotations. It works fine. > > But I have just hit another snag. If I do this through JQuery (which I now > wanted to do), I have to open my SOLR access to the world. It would probably > be better if I just did it in a php script. > > > On 03/10/2014 08:09 PM, helix84 wrote: >> >> &wt=json should work in DSpace as is (tested in 3 and 4). What is your >> complete query and what is your response header? Didn't you >> accidentally specify two different wt parameters? >> >> >> On Mon, Mar 10, 2014 at 7:02 PM, Shaun Donovan <[email protected]> >> wrote: >>> >>> As always Helix, you are a star. >>> >>> One thing I would like to change from your example is to use JSON instead >>> of >>> XML. The documentation says add &wt=json to the url, but this has no >>> effect >>> on the output (documentation also states that JSON is supported on the >>> search core). Any ideas why? >>> >>> I am busy implementing the XML, but JSON would be nice. >>> >>> >>> On 03/10/2014 01:20 PM, helix84 wrote: >>>> >>>> Hi Shaun, >>>> >>>> why, DSpace has a RESTful API perfectly suited for this purpose. >>>> You'll find all the details you need on connecting, allowing access >>>> and making queries at [1]. The query you want to use is: >>>> >>>> >>>> >>>> http://localhost:8080/solr/search/select/?q=search.resourcetype:2&sort=dc.date.accessioned_dt%20desc&start=0&rows=10&indent=on >>>> >>>> [1] https://wiki.duraspace.org/display/DSPACE/Solr >>>> >>>> >>>> Regards, >>>> ~~helix84 >>>> >>>> Compulsory reading: DSpace Mailing List Etiquette >>>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >>> >>> > ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

