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
Comment #1
pwolanin commenteddid you update the .xml files on your Solr server and re-index?
Comment #2
brunodboOk, 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?
Comment #3
robertdouglass commented"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.
Comment #4
pwolanin commentedyou must update solrconfig.xml as well as schema.xml - i.e. all .xml files that are in the module tarball/checkout
Comment #5
brunodboGreat, thanks for the help. Marking as fixed.