Trying to update number of element to index at each cron from 50 to 200 I had this error, and the number stays at 50.
I checked the pages and all have results < 200 and are behaving OK when browsing

CommentFileSizeAuthor
#2 1320076.patch980 bytesnick_vh

Comments

egarias’s picture

I have also this in the watchdog

Notice: Undefined index: apachesolr_rows en apachesolr_settings_validate() (línea 389 de /home/boletin/public_html/sites/all/modules/apachesolr/apachesolr.admin.inc).

nick_vh’s picture

StatusFileSize
new980 bytes

Thanks for reporting this

Please verify if this patch fixes it for you. It was a leftover validation from a previous change in moving the apachesolr_rows to a search page

egarias’s picture

Status: Active » Fixed

Thanks it worked

Number of documents are changed and the cron indexes this number

nick_vh’s picture

Thanks! Committed

egarias’s picture

Shall I ask you help on the following:

Cron channel (default) has been running for more than an 400 secs and is most likely stuck. Last job executed: apachesolr_cron

It only happens in one of my sites using apachesolr and this is not the most large, all the sites are all sharing the same schema and java process.
It should maybe be caused by something wrong in this site but i don't know were to look.

Can you give me some guidelines? before trying to delete and reindex.

The site is http://boletin.artic-group.net

Thanks

egarias’s picture

Fixed with optimize database tables

Status: Fixed » Closed (fixed)

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