[ckan-dev] CKAN can't find SOLR on 127.0.0.1. Jetty config?
Adrià Mercader
adria.mercader at okfn.org
Wed Nov 14 15:32:47 UTC 2012
On 14 November 2012 14:32, Sean Hammond <sean.hammond at okfn.org> wrote:
> When I'm not sure whether solr is running I do
> `elinks http://127.0.0.1:8983/solr` to open it in the elinks browser
> (sudo apt-get install elinks). If it doesn't seem to be running just
> repeat the sudo service jetty stop and sudo service jetty start
> commands.
If you don't want to install elinks, this should return a Solr XML
file with no results:
curl http://localhost:8983/solr/select?q=name:xxxxxxxxxx
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int
name="QTime">77</int><lst name="params"><str
name="q">name:asdsadasdsddas</str></lst></lst><result name="response"
numFound="0" start="0"/>
</response>
Adrià
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
More information about the ckan-dev
mailing list