One of Drupal's key features has to be its out-of-the-box multisite capabilities, if a little limiting in some areas.

While recently creating a new community site I noticed that the 'search.module' only stores the node 'type' and 'id' in reference to hyperlinks, meaning all searches will return relative (not absolute) paths, so my request would be to additionally store the current domain URL too.

By doing this the relevant 'search' tables could be shared, allowing a search within any multisite to return results from all... not just the current one.

Perhaps I've grossly over-simplified this, but it would be a great help... perhaps adding the ability to filter which multisite(s) you wish to search from as a future feature - Such a list should be possible to generate via the recursive polling mechanism used for both the 'modules' and 'themes' directories.

Comments

Stefan Nagtegaal’s picture

Version: 5.0 » 6.x-dev

features are only allowed for the current HEAD version, so they could be available in the next drupal version.

robertDouglass’s picture

Version: 6.x-dev » 7.x-dev

It's an interesting feature request. Multisite is certainly a great feature, and table sharing allows for some interesting configurations. The overhead of adding a URL wouldn't be extremely high.

jhodgdon’s picture

Version: 7.x-dev » 8.x-dev

Still an interesting feature request... Drupal 8 material at this point in the development cycle.

MXT’s picture

+1

Tracking.

jhodgdon’s picture

Status: Active » Closed (won't fix)

There is not anything in Drupal Core that really allows you to mix stuff from multiple sites' databases together, so there is not any precident for adding this type of thing to Core.

If you wanted to combine search results from mutlple site databases, you would need each site to store its results in its own tables (just as the nodes etc. would be), and then do an appropriate union (adding a database field to track which site it came from). Good luck! Sorry we can't consider this for core.