solr search setup - Solr connection is invalid.

Hello there! So I am in the process of getting a test server up and running and I currently have solr running on a remote machine. Due to the nature of the plugin not giving any detailed errors or log, and the fact that there is such little documentation on the plugin I am a little lost on what I might be doing wrong. I have the plugin set to bare--> remoteIP/solr as the server should be located in the root of the server, and then for my URL of the Solr core to index against i have set to : /plugins/solrSearch/solr-core/omeka/ what am I missing here?

So I have spent some time and set up a free account at opensolr and am still unable to get the plugin to show me anything other than "Solr connection is invalid." I have added the information from the plugin that was included and still the problem persists. Does anyone know of any way to debug the output of solr search?

So after partially scrapping the server setup in favor of a simpler (more ready to go solution), I have decided to run a trial with opensolr. I was up in just a couple minutes and had my solrconfig copied over and all seems well. Now I don't have direct access to the file systems, outside of updating via the command line, I do have the ability to modify the files directly from their web interface and that is how I made the changes to their default setup. After I finished that I got omeka to point to the server and it even started propagating records. Now I seem to have a problem with the way that it is returning info. Would anyone care to take a look at this log?

Omeka has encountered an error

Mysqli prepare error: Table 'swflemin_DG.s' doesn't exist

#0 /home2/swflemin/public_html/home/application/libraries/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT s.* FR...')
#1 /home2/swflemin/public_html/home/application/libraries/Zend/Db/Adapter/Mysqli.php(388): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), 'SELECT s.* FR...')
#2 /home2/swflemin/public_html/home/application/libraries/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Adapter_Mysqli->prepare('SELECT s.* FR...')
#3 /home2/swflemin/public_html/home/application/libraries/Zend/Db/Adapter/Abstract.php(756): Zend_Db_Adapter_Abstract->query(Object(Omeka_Db_Select), Array)
#4 [internal function]: Zend_Db_Adapter_Abstract->fetchRow(Object(Omeka_Db_Select), Array)
#5 /home2/swflemin/public_html/home/application/libraries/Omeka/Db.php(79): call_user_func_array(Array, Array)
#6 /home2/swflemin/public_html/home/application/libraries/Omeka/Db/Table.php(619): Omeka_Db->__call('fetchRow', Array)
#7 /home2/swflemin/public_html/home/application/libraries/Omeka/Db/Table.php(619): Omeka_Db->fetchRow(Object(Omeka_Db_Select), Array)
#8 /home2/swflemin/public_html/home/application/libraries/Omeka/Db/Table.php(214): Omeka_Db_Table->fetchObject(Object(Omeka_Db_Select), Array)
#9 /home2/swflemin/public_html/home/plugins/SolrSearch/helpers/SolrSearch_Helpers_View.php(94): Omeka_Db_Table->find(NULL)
#10 /home2/swflemin/public_html/home/plugins/SolrSearch/views/shared/results/index.php(118): SolrSearch_Helpers_View::getDocumentUrl(Object(Apache_Solr_Document))
#11 /home2/swflemin/public_html/home/application/libraries/Omeka/View.php(117): include('/home2/swflemin...')
#12 /home2/swflemin/public_html/home/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/home2/swflemin...')
#13 /home2/swflemin/public_html/home/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('results/index.p...')
#14 /home2/swflemin/public_html/home/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('results/index.p...', NULL)
#15 /home2/swflemin/public_html/home/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#16 /home2/swflemin/public_html/home/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#17 /home2/swflemin/public_html/home/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#18 /home2/swflemin/public_html/home/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction')
#19 /home2/swflemin/public_html/home/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#20 /home2/swflemin/public_html/home/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#21 /home2/swflemin/public_html/home/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#22 /home2/swflemin/public_html/home/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#23 /home2/swflemin/public_html/home/index.php(23): Omeka_Application->run()
#24 {main}

After much debugging and trial and error I have a solr server set up and running. I ended up going with a vps server and loaded jetty and solr on that machine and it works great. Lessons learned, opensolr is not a very usable option, too many files need to be configured and you really don't have access to them. I'd love to hear if anyone was able to make it work.

Not sure what you mean when you say there are too many files to be configured.

Opensolr, not only allows you to edit any configuration file, in a very nice WYSIWYG editor, that also has live error reporting, so that you know that your configuration is always correct, but it also allows you to add more configuration files in a very simple to use interface.

There are hundreds of people using it for their production instances.

I really can't see how having your own solr instance will be better in terms of core management and load balancing, than opensolr will be.

Also, from what I see in your error log above, you were having a MySQL issue, not a solr index issue.