Skip to content

[FEATURE] Support solrcloud mode#4621

Draft
schliesser wants to merge 1 commit into
TYPO3-Solr:release-13.1.xfrom
schliesser:release-13.1.x-solrcloud
Draft

[FEATURE] Support solrcloud mode#4621
schliesser wants to merge 1 commit into
TYPO3-Solr:release-13.1.xfrom
schliesser:release-13.1.x-solrcloud

Conversation

@schliesser
Copy link
Copy Markdown
Contributor

What this pr does

Add support for solrcloud.

When solr is running in solrcloud mode, it uses collections as the main entrypoint instead of cores. A collection exists of multiple cores, that can be spread across different machines. solrcloud is typically used in cloud hostes environments for scalability.

From the extension perspective, I only had to change the reloadCoreByName() method to select the correct API endpoint depending of the mode.

In addition the status page now shows the solr mode.

Functions that work without changes:

  • Fetching informations about solr server
  • Indexing
  • Searching (including Autosuggest)
  • Clearing the index
  • Index fields info
  • Adding/Removing Synonyms
  • Adding/Removing Stop Words

How to test

Will update here as soon as the ddev add-on ddev-typo3-solr is updated. I'm currently working on supporting both modes (standalone / solrcloud) in this add-on for easy testing.

Fixes: #4031

@dkd-kaehm
Copy link
Copy Markdown
Collaborator

@schliesser
Thanks for that PR
Why not against main branch with Apache Solr 10?

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

Successfully merging this pull request may close these issues.

2 participants