Skip to content
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

[FEATURE] Definition of context via SiteConfiguration #4202

Open
ayacoo opened this issue Oct 28, 2024 · 0 comments
Open

[FEATURE] Definition of context via SiteConfiguration #4202

ayacoo opened this issue Oct 28, 2024 · 0 comments

Comments

@ayacoo
Copy link
Contributor

ayacoo commented Oct 28, 2024

As before, we currently have the problem that ‘solr’ is forced in the URL. This is done via the "context" from the Solarium Library.
vendor/solarium/solarium/src/Core/Client/Endpoint.php -> $options

Building the endpoint is very dynamic and you could control the context via a SiteConfiguration variable.
vendor/apache-solr-for-typo3/solr/Classes/System/Util/SiteUtility.php
You could add the "context" attribute to getSolrConnectionConfiguration()

Disadvantage: Depending on the case, you may have double slashes in the URL. Example: https://host//core_de Of course, this would have to be filtered.

Additional context

  • TYPO3 v12
  • EXT: solr 12
  • Apache 9.6

We can start with a PR if the proposal is basically okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant