Download & Extend

Select specific sites to search in a multisite search environment

Project:Apache Solr Multisite Search
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hello,
great module I wander why only 264 sites are using it. By the way I'm working in a use case where there is a big ecosystem of multiple independents sites where some groups of sites are related under one category but that categories may have a hierarchy:
Example:

  • Cultura
    • Museums
      • Museum 1
      • Museum 2
    • Theatre
      • Theatre 1
      • Theatre 2

In this scenario we need to search at different levels: locally in each site (ig. Museum1), multisite in a group of sites (ie. Museums, not necessary a tee branch), and globally in all sites (Cutura). this module resolve the first and the last scenario.

I think it would be useful to include the feature to search in a set of sites.

Comments

#1

two possibilities I figured out:

  1. simple: select (in the multistite search configuration tab) the sites to search in when you are in multisite search mode. Just adding a checkbox near each site fetched from the index. All the configuration remains in the site but must be updated when new site is added to the category
  2. more complicated: add the ability to define groups of sites and keep that information in the index. One simple way to achieve that is by adding an extra field to the site metadata (for example sm_site_category). then use this field to get al site hashes tagged under some category and include in default filter. Then add a list of site-categories to search in.

What do you think?

I think I'm going to make some tests with the second option.

nobody click here