I just installed.
I'm using the framework & search module only. It connects fine. I cant access the solr/admin page through tomcat. However no files are being index. The regular search index shows site content indexed at 58%. The Solr index shows 0% with 95 items remaining.
Watch Dog shows...
Indexing failed on one of the following nodes: 16, 18, 20, 21, 22, 23, 24, 26, 31, 32, 33, 11, 10, 9, 8, 7, 6, 34, 17, 35
"400" Status: Bad RequestApache Tomcat/6.0.20 - Error report HTTP Status 400 - ERROR:unknown field 'site'type Status reportmessage ERROR:unknown field 'site'description The request sent by the client was syntactically incorrect (ERROR:unknown field 'site').Apache Tomcat/6.0.20
Any ideas?
Comments
Comment #1
timefor commentedOpps^^^ I CAN access the solr/admin page. I have no problems connecting to tomcat.
Comment #2
timefor commentedI've completely reinstalled the server and Apache Solr and I'm still getting the same problem. I'm also trying 2.x dev now. It can see the server but its still not indexing any files.
Using 2.x-dev I'm now getting this error "An error occurred while processing apachesolr_batch_reindex_process with arguments :apachesolr_batch_reindex_process" when trying to reindex.
Comment #3
robertdouglass commentedERROR:unknown field 'site'type --- this usually means that schema.xml isn't in the right place in the Solr installation. The schema.xml file from the Drupal module needs to be copied into the conf directory of your Solr server before the server is started. Are you sure you've done this?
Comment #4
timefor commentedI thought I had followed the instructions correctly but I will double check it.
Comment #5
jpmckinney commentedComment #6
jpmckinney commentedComment #8
zualas commentedI also get this issue that the index is not passed to SOLR. If I check the logs, it gives me the following:
Comment #9
zualas commentedhmm, several reboots of Jetty saved the day...
Comment #10
yngens commentedHave the same error message. I have checked - everything is installed properly. I have functioning multisite core, the other sites have been indexed with no issues, but on just one particular website indexing always stops at the same one place - when it reaches 10%. Restarting solr severa times did not solve the problem like it did for zualas.
I guess one of my nodes is a problem. But which one? How can I identify the node which prevents indexing?
Comment #11
wouters_f commentedI had the same problem but the solution was easy.
Varnish was automatically downloaded with mercury.
The solconfig.xml and schema.xml were not present in my automatically drush downnloaded apachesolr module folder.
So I downloaded apachesolr again from drupal.org and there the schema.xml and solrconfig.xml were present.
Replacing these and restarting the solr did solve the problem.
I guess if you drush dl from within varnish these 2 config files are not included?
Problem solved here.
Great module by the way!