Skip to content

How to configure Algolia Search for multi-site use cases? #10815

Answered by slorber
ilg-ul asked this question in Q&A
Discussion options

You must be logged in to vote

If you have a large amount of sites that you want to deploy independently, it makes to me.

Also makes sense to me to allow a global search across all of them to increase UX.

@slorber, for now I updated all 27 sites to use this configuration with the externalUrlRegex definition.

If you see any problem, or have a better idea, please let me know.

externalUrlRegex: 'xpack\\.github\\.io|xpack-dev-tools\\.github\\.io'

This should work, and is the simplest solution.

But know if you are on the root site, and click a hit of the root site, it opens using regular nav in a new window. That still leads to the page you were looking for, but is not an ideal UX.
Same if you are on xpm and search for a …

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@slorber
Comment options

slorber Jan 7, 2025
Collaborator

@ilg-ul
Comment options

@ilg-ul
Comment options

@slorber
Comment options

slorber Jan 16, 2025
Collaborator

Answer selected by ilg-ul
@ilg-ul
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants