arckinteractive / elgg_solr

Basic solr integration to replace elgg search
GNU General Public License v2.0
7 stars 8 forks source link

Reindex #1

Closed gerard-kanters closed 10 years ago

gerard-kanters commented 10 years ago

Installed a fresh SOLR on tomcat, copied the schema.xml to the collection and filled in the settings in the plugin:

Host: 192.168.1.37 Port: 8080 (tomcat) Path: /solr/ Protocol: http

Try to reindex and get an error message "Solr HTTP error: Not Found (404)"

Direct access to http://192.168.1.37:8080/solr/ will give me the SOLR admin page.

gerard-kanters commented 10 years ago

The issue seems to be in lib/Solarium/Client/Adapter.php

$uri = $uri = 'http://' . $this->getHost() . ':' . $this->getPort() . $this->getPath() . '/';

It is not getting the values from the plugin settings.

If you hardcode the URI, it starts reindexing.

beck24 commented 10 years ago

As I mentioned in the post this is still untested on my part so I'm not really surprised. That said I can't see any issue with the adapter code. Are you sure the plugin is installed as elgg_solr and not elgg_solr-master or something?

gerard-kanters commented 10 years ago

Yes plugin is called elgg_solr

On Sat, Apr 12, 2014 at 9:02 PM, Matt Beckett notifications@github.comwrote:

As I mentioned in the post this is still untested on my part so I'm not really surprised. That said I can't see any issue with the adapter code. Are you sure the plugin is installed as elgg_solr and not elgg_solr-master or something?

Reply to this email directly or view it on GitHubhttps://github.com/arckinteractive/elgg_solr/issues/1#issuecomment-40288750 .