TYPO3-Solr / ext-solr

A TYPO3 extension that integrates the Apache Solr search server with TYPO3 CMS. dkd Internet Service GmbH is developing the extension. Community contributions are welcome. See CONTRIBUTING.md for details.
GNU General Public License v3.0
137 stars 249 forks source link

[TASK] Creating a queue instance should be more flexible #190

Open timohund opened 8 years ago

timohund commented 8 years ago

In solrfal a custom queue is used by using the hook:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['postProcessIndexQueueInitialization']

This works fine, to trigger the queuing but is not enough to provide correct counting values or operate on the correct tables.

I would propose the following:

Introduce a "QueueResolver" that returns the queue for a indexingConfigurationName, by default the current "Queue". This QueueResolver provides a hook to have the possibility to return an own queue instance for a specific indexingConfigurationName.

irnnr commented 8 years ago

Not sure yet, might be an issue with how solrfal implements things. Let's discuss that on Skype.