Just upgraded my apachesolr installation to alpha5. Since I did so, the Solr search is not working anymore: when I do a search on /search/apachesolr_search/, the page comes back with an empty result set, saying I should check my spelling etc. I can still search using the Drupal core search. Also, Solr is running, and I can do a search on Solr directly, by going to http://example.com:8080/solr on my server.

I'm almost certain that it's something small that I'm overlooking, but I can't find what (after checking everything I could think of). Any ideas?

Comments

pwolanin’s picture

did you update the .xml files on your Solr server and re-index?

brunodbo’s picture

Ok, didn't know I had to update schema.xml (just to confirm: is schema.xml the only xml file that needs to be updated on the Solr server)?

I updated it and am now re-indexing.

After I deleted the Solr index at /admin/settings/apachesolr/index (in order to re-index), I am told that 47% of my site has been indexed (while I would expect this number to be zero percent). Is it possible that this percentage refers to the amount of content that's indexed by Drupal's core search?

robertdouglass’s picture

"Is it possible that this percentage refers to the amount of content that's indexed by Drupal's core search?" - yes. The two indexes are counted together in Drupal core's implementation. Unfortunately.

pwolanin’s picture

you must update solrconfig.xml as well as schema.xml - i.e. all .xml files that are in the module tarball/checkout

brunodbo’s picture

Status: Active » Fixed

Great, thanks for the help. Marking as fixed.

Status: Fixed » Closed (fixed)

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