I have correctly installed apache solr and have moved the two xml files to my home directory. When I access the apache solr index configuration in Drupal admin, I am always seeing
" Using schema.xml version: example
The server has a 0 sec delay before updates are processed." message.
Also the Number of documents in index: 0 and
Number of pending deletions: 0.
Here are some of the things under my installation:
- I have tested the Jetty applet and I can access my localhost solr/admin
- Replaced the example xml files with the ones from my Drupal module directory
- Dumped SolrPhpClient into the apachesolr Drupal directory
- Cron is run
What would you think a method to index the content? What did I miss?
Thanks.
Comments
Comment #1
jpmckinney commentedThe xml files should be in the Solr instance's conf/ directory, so that the message on admin/settings/apachesolr/index is "Using schema.xml version: drupal-0.9.5". Is that what you see right now?
Comment #2
selvakumar commentedTry this..... You should restart your apache server. After that start your start.jar file
Comment #3
jpmckinney commented"Using schema.xml version: example" is definitely not right. It should say drupal-0.9.x (or similar). This is fixed by putting the schema.xml and solrconfig.xml in the right directory and restarting the Tomcat/Jetty/etc. server.
Comment #4
jpmckinney commentedAlso, upgrade to the latest 5.x release.
Comment #5
jpmckinney commentedComment #7
lucasvm commentedIm having the same problem, but im using the drupal.1.4 schema.xml i dont know why im getting the example schema, should i restart apache or something like that?
Comment #8
Greg Varga commentedsame here, using drupal.1.4 schema.xml
Using schema.xml version: drupal-1.4
The server has a 0 sec delay before updates are processed.
Number of documents in index: 0 (50 sent but not yet processed)
Number of pending deletions: 0
Update/fix: Don't forget to copy the solrconfig.xml over to your solr folder!
This solves the problem described above.
CentOs, tomcat5, apache-solr-1.4.1, module: 6.x-1.6