-
-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] SolrRoutingMiddleware is always in php-slow.log #3810
Comments
Is it actually correct that it runs every time when NOT indexing? I disabled it completely and no entries in slow log any more. |
Yes, that is right. The component is not needed for indexing, but to generate speaking URLs for the facets. However, since the enhancer is having such a negative effect, I think we should look into this. Maybe we can integrate a switch that allows an early exit and disable the enhancer by default. My last impression is that the feature is hardly used and therefore an explicit activation is acceptable. |
But if there are 1000 requests to |
Renaming of 3 events related to routing caused failures in route generation in TYPO3 12. This commit replaces the old events in all occurences missed in the first step and restores the route enhancer functions. Relates: TYPO3-Solr#3681 Relates: TYPO3-Solr#3810
EXT:solr offers the possibility to create speaking URLs for Solr facets, but as this feature requires additional configuration and costly processing this feature is now disabled by default. If you've already used the route enhancer you must set option "enableRouteEnhancer": $TYPO3_CONF_VARS['EXTENSIONS']['solr']['enableRouteEnhancer'] Resolves: TYPO3-Solr#3810
EXT:solr offers the possibility to create speaking URLs for Solr facets, but as this feature requires additional configuration and costly processing this feature is now disabled by default. If you've already used the route enhancer you must set option "enableRouteEnhancer": $TYPO3_CONF_VARS['EXTENSIONS']['solr']['enableRouteEnhancer'] Resolves: #3810
Adds an integration test for the Solr route enhancer and the newly integrated extension configuration "enableRouteEnhancer". Relates: #3810
Improves the structure, implementation and documentation of ext_conf_template.php. Relates: #3810
Adds missing documentation for the following extension configuration settings: - pluginNamespaces - includeGlobalQParameterInCacheHash - useConfigurationMonitorTables - enableRouteEnhancer Relates: TYPO3-Solr#2725 Relates: TYPO3-Solr#3810
Improves the structure, implementation and documentation of ext_conf_template.php. Relates: TYPO3-Solr#3810
Adds an integration test for the Solr route enhancer and the newly integrated extension configuration "enableRouteEnhancer". Relates: #3810
Improves the structure, implementation and documentation of ext_conf_template.php. Relates: #3810
Describe the bug
Seeing a lot of these:
No slow logs without this middleware.
php-slow.log.zip
This middleware is executed when indexing does not happen and it seems it replicates the whole routing procedure. So routing happens twice. Can't it run after the normal routing middleware and use its results, may be?
Used versions (please complete the following information):
The text was updated successfully, but these errors were encountered: