Closed (fixed)
Project:
Apache Solr Search
Version:
6.x-1.0-rc3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2009 at 08:47 UTC
Updated:
19 Jul 2010 at 01:13 UTC
Hi all,
today I noticed that my search index is not being updated at each cron run. This is the info on the solr search module page:
The search index is generated by running cron. 52% of the site content has been sent to the server. There are 3099 items left to send.
The server has a 2 mins delay before updates are processed.
Number of documents in index: 4376
No more documents appear indexed than those 4376, even after running multiple crons.
Anyone knows what can be the problem here? Thanks in advance, Simon.
Comments
Comment #1
pwolanin commentedThere are many possible problems - check the site log and PHP error log for a start. You will have to do more investigation your self or post your user 1 username and password here...
Comment #2
SimonVlc commentedThanks for your answer pwolanin... this seems to be the problem:
Indexing failed on one of the following nodes: 3895, 3938, 3949, 3953, 3961, 3964, 3987, 3995, 4007, 4037, 4047, 4061, 4094, 4116, 4130, 4135, 4147, 4155, 4161, 4163
"500" Status: Internal Server Error
Error 500
HTTP ERROR: 500null
java.lang.ArrayIndexOutOfBoundsException
RequestURI=/solr/updatePowered by Jetty://
Any idea?
Comment #3
jpmckinney commentedCron usually fails when there is something about the node that crashes in indexer.
Comment #4
jpmckinney commentedAre you implementing hook_apachesolr_update_index? In any case, you will want to inspect each of the nodes that the error message mentions. Something about those nodes is causing the code that builds the Solr document to crash. The Java error is ArrayIndexOutOfBoundsException, so I would look for code in your hook_apachesolr_update_index (if you implemented it), that deals with arrays.
Comment #5
pwolanin commented