Closed (fixed)
Project:
Apache Solr Search
Version:
6.x-1.0-beta8
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Apr 2009 at 07:32 UTC
Updated:
1 Apr 2014 at 16:40 UTC
Jump to comment: Most recent
Comments
Comment #1
JacobSingh commentedPlease try to be a little more specific. This module is really still in a place where you should have some programming experience to get it all working together. Check your Drupal Logs at Reports -> Recent Log Entries
Also check that Solr is actually running by going to localhost:8983... other than that, you'll have to give us more info. Try searching this issue queue as well.
If you want to have it "just work", Acquia Search (http://acquia.com/products-services/acquia-search), may be an option for you.
Disclaimer: I work for Acquia.
Comment #2
pwolanin commentedMake sure you have installed the .xml files from this module into the Solr conf directory - and check the admin screens within Solr itself to see what your index contains.
Comment #3
vesapalmu commentedI have been having same kind of problems with more than one site now. Content is being sent to Solr, but not indexed. When I look at admin/settings/apachesolr/index I get "Number of documents in index: 0 (250 sent but not yet processed)". The site has 250 nodes.
Solr works as expected via admin interface, but naturally does not find anything since the index is empty. I have tried restarting Solr, reindexing content and deleting all content from Solr a few times with out any luck.
My current Solr is nightly build from 21st of April, SolrPhpClient is revision 6 and Apache Solr module 6.x-1.0-beta8. Solr is running on example installation of Jetty with schema.xml from the module in place. Apache Solr module settings are all defaults and there is no indication about any errors.
This is what I get in Jetty log when cron runs to add 50 nodes in the index:
Also there are some ""400" Status: Bad Request" errors from Apache Solr in Drupal log. I am not sure what is causing these, when I try searching there is just a normal log entry about searching and no errors.
I have successfully used this module on number of sites and have been having problems on some. With earlier versions of Solr module the problem has been solved by just deleting and recreating the index, but not this time.
Comment #4
vesapalmu commented..and once again yet another restart of Jetty fixed this issue. I still have no idea what is causing this seemingly random problem.
Comment #5
pwolanin commentedComment #6
Anonymous (not verified) commentedI had this same issue. It was a case of operator error. ;) I had remembered to replace solr's schema.xml, but have overlooked the need to replace solrconfig.xml. I suspect this to be your problem.
Comment #7
geerlingguy commentedSame here. If you're scratching your head over it, make sure your schema.xml and solrconfig.xml are both up to date. In my case, I was accidentally cloning from the wrong branch in Git while cloning from my application's repo, and the solrconfig.xml was using the default Solr example, so my Apache Solr search settings page just said "0 Items (500 sent but not yet processed)" forever, and after a restart, items were in the index, but not searchable. (This was with 7.x).