Howdy,

I've recently signed up to heroku and I'm having a little trouble with
Solr.

I'm trying to index news articles as I am collecting them, approx 350
per minute. They are checked, processed and then saved. I followed the
instructions on the heroku docs, and I have...

handle_asynchronously :solr_index

...at the bottom of my model, along with a couple of workers running
to handle the indexing along with the import tasks. But it doesn't
seem to be doing any indexing! Looking at the heroku logs, the delayed
job process does seem to be running.

* [Worker(host:railgun64.38351 pid:14550)] acquired lock on
Article#solr_index_without_send_later
* [JOB] host:railgun64.38351 pid:14550 completed after 0.0289

If I leave it running for a while and run a full text search I get no
results. But if I trigger a manual index of the model by running
'Model.index', the search works fine afterwards. At the moment I've
got the index process running every ten minutes, which is probably a
horrible way of doing it.

How do I kick the asynchronous indexing into action?

Many thanks,
Graeme

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to