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

jpmckinney’s picture

Status: Active » Postponed (maintainer needs more info)

The 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?

selvakumar’s picture

Try this..... You should restart your apache server. After that start your start.jar file

jpmckinney’s picture

Status: Postponed (maintainer needs more info) » Fixed

"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.

jpmckinney’s picture

Also, upgrade to the latest 5.x release.

jpmckinney’s picture

Priority: Critical » Normal

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

lucasvm’s picture

Im 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?

Greg Varga’s picture

Version: 5.x-2.0-rc2 » 6.x-1.6

same 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