arckinteractive / elgg_solr

Basic solr integration to replace elgg search
GNU General Public License v2.0
7 stars 8 forks source link

New entities are indexed synchronously #14

Closed mrclay closed 10 years ago

mrclay commented 10 years ago

When entities are created the data is posted to Solr immediately. The Solr connection can therefore block the Elgg action request.

I think ideally Solr would only be able to block search requests and instead entity GUIDs would be added to an async indexer queue.

beck24 commented 10 years ago

I have a post to solr occurring on the shutdown event with vroom to keep things in sync and not prevent the action and not prevent the next pageload. If there's anything that's still happening that can prevent the action it should be shunted to that event instead.

beck24 commented 10 years ago

Fixed in https://github.com/arckinteractive/elgg_solr/commit/344325f34adccc02934c61603803475f23107524