[MGNLEESOLR-130] SOLR module - add support for multiple SOLR collections Created: 07/May/18  Updated: 18/Mar/21  Resolved: 18/Mar/21

Status: Closed
Project: Solr Search Provider
Component/s: None
Affects Version/s: 5.1.1
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Documentation update required:
Yes
Date of First Response:

 Description   

Originated from SUPPORT-8643:

Currently SOLR module supports only one collection in SOLR. That causes problems in multisite environments, or multilingual.

  1. First of all we need to query for results using some additional query param, like type (different for each set of data).
  2. Secondly if we store in one index data from crawler and from few indexers, or from few crawlers (multisite), /suggest call returns incorrect data, and there is no way (using spellchecker config in solr) to narrow amount of indexes it uses to generate suggestions.

This is a reasonable function so let's consider how to support this.



 Comments   
Comment by Milan Divilek [ 18/Mar/21 ]

Solr search provider module supports multiple cores/collections - see how to define solr clients in https://docs.magnolia-cms.com/product-docs/Modules/List-of-modules/Solr-module/Indexing-and-crawling-a-website-with-Solr.html#_configuring_solr_clients
This was implemented in MGNLEESOLR-54

Generated at Mon Feb 12 11:00:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.