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
136 stars 248 forks source link

[TASK] Increase jetty.request.header.size inside Docker Image #2713

Open DanielSiepmann opened 4 years ago

DanielSiepmann commented 4 years ago

For the second time I encountered the problem that if you use more than a “few” facets that solr in the FE produces the error that search is not available while the BE connection works without a problem. Again the problem was that the request to solr ended with an error that the request URI was too long.

Adding a setting to the docker yaml in ddev solved the issue locally:

    environment:
      - VIRTUAL_HOST=$DDEV_HOSTNAME
      - HTTP_EXPOSE=8983
      - SOLR_OPTS=-Dsolr.jetty.request.header.size=65535

It would however be nice if this jetty setting was increased inside the TYPO3 solr docker image.

I've just created the issue from a Slack report by Jigal, you can contact him on TYPO3 Slack if you have further questions.

dkd-kaehm commented 4 years ago

IMHO we should provide a PR directly to original image https://github.com/docker-solr/docker-solr

dogawaf commented 1 year ago

Solarium seems to have an automatic fallback to POST for big request: https://solarium.readthedocs.io/en/stable/plugins/#postbigrequest-plugin