Search: AI, Hybrid, Classic

  • Pricing
  • Contact Us
  • Help
    • My Licenses
      • Login
      • Download
      • Why us
      • Contact us
    • Features
      • Google Retail Search
      • Weaviate
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Roadmap
      • Artificial Intelligence
      • Hosting
      • Releases
    • Documentation
    • Support
    • Testimonials
    • Live Demos
    • Blog
Menu
  • Pricing
  • Contact Us
  • Help
    • My Licenses
      • Login
      • Download
      • Why us
      • Contact us
    • Features
      • Google Retail Search
      • Weaviate
      • Elasticsearch
      • OpenSearch
      • Solr
      • Algolia
      • Roadmap
      • Artificial Intelligence
      • Hosting
      • Releases
    • Documentation
    • Support
    • Testimonials
    • Live Demos
    • Blog
Search
Search
Search
Search

Home » Your configuration journey, step by step » Add-ons » Cross-domain search add-on

Cross-domain search add-on

794 views 0 December 5, 2018 Updated on November 16, 2020

You manage several related WordPress sites/multisites, and wish to aggregate their search results in a single super search. Thankfully, you can achieve just that with WPSOLR’s cross-domain search.

You can read the general concepts of cross-domain search on the knowledge base article How to consolidate the search from several domains. Also, you can ask questions and learn from others in our dedicated cross-domain search forum.

The general ideas are as follow:

  • A search “network” share a single Elasticsearch/Solr index. In the index, a unique site id is tagging each network document.
  • One can setup any site in the network, to retrieve only in its own tagged documents from the shared index. It’s called “local search” settings.
  • One can setup any site in the network, to retrieve all documents from the shared index. It’s called “global search” settings.

 

Activate the cross-site add-on

Image wpsolr-admin-cross-domain-search-activate-addon.png of Cross-domain search add-on
wpsolr admin cross-domain search activate addon

 

Create the cross-site search index

A network of sites share a single index. The plugin will create this index as usual on your first site. Then reuse the exact same index settings on your other sites, so WPSOLR can reuse the same index.

Its schema is no different from any ordinary WPSOLR index schema. The only difference is that, during the indexing phase, each site will mark its documents with a specific tag.

Note that you can create several network indexes, to configure as many cross-domain searches among all your sites.

 

Configure a local site search

Select the cross-domain search type “local”. Configure your search, then index your documents.

Unfortunately, local suggestions cannot filter results by the current site id. They are therefore deactivated. It is a limitation of Elasticsearch and Solr.

But you can select your own theme search template to display the local search results.

Image wpsolr-admin-cross-domain-search-select-local.png of Cross-domain search add-on
wpsolr admin cross-domain search select-local

 

Cross domain local search with Elasticsearch or Solr

 

Configure a global site search

Select the multi domain search type “global”. Configure your search, then index your documents.

Global suggestions will work, because they do not need to be filtered by the current site id.

You can only select the default WPSOLR Ajax search template to display the global search results. Because only this template is designed to show urls of post ids belonging to other sites from the current network.

Image wpsolr-admin-cross-domain-search-select-shared.png of Cross-domain search add-on
wpsolr admin cross-domain search select-global

 

Cross domain global search with Elasticsearch or Solr

 

Limitations

Cross domain search search does not support:
– Suggestions in local site searches, because suggestions cannot be filtered by the site id.
– The current theme search.php template with global searches. Only the shortcode Ajax template. Because search.php is not meant to build and display urls for post ids existing in other sites.

 

 

 

Was this helpful?

Yes  No
Related Articles
  • Hybrid search
  • Question Answering
  • Cohere
  • OpenAI
  • HuggingFace
  • CLIP

Didn't find your answer? Contact Us

Previously
WooCommerce add-on
Up Next
Directory+ add-on
Expand All Collapse All
  • What is it WPSOLR ?
    • The standard WordPress SQL search
    • The WPSOLR search with Elasticsearch, Apache Solr, or Algolia
  • Your configuration journey, step by step
    • Install Apache Solr
    • Hosted Apache Solr and SolrCloud Services
    • Install Elasticsearch
    • Elasticsearch Hosting
    • Configure your indexes
      • Create a Google Retail search index
      • Create a Weaviate index
        • Transformers
        • CLIP
        • HuggingFace
        • OpenAI
        • Cohere
        • Question Answering
        • Hybrid search
      • Generate a test Apache Solr index
      • Generate a test Elasticsearch index
      • Create an Apache Solr index
      • Create a SearchStax SolrCloud index
      • Create an Elastic Elasticsearch index
      • Create an Amazon AWS OpenSearch index
      • Create an Algolia index
      • Create an Elasticsearch index
      • Create an Opensolr Solr index
      • Create a Qbox Elasticsearch index
      • Create an ElasticPress Elasticsearch index
      • Create an Aiven Elasticsearch or OpenSearch index
      • Create a Bonsai Elasticsearch index
      • Create an Amazon AWS Elasticsearch index
      • Create an ObjectRocket Elasticsearch index
      • Create a Cloudways Elasticsearch index
      • Create an Alibaba Cloud Elasticsearch index
      • Create a Compose Elasticsearch index
      • Connect to an Apache Solr index
      • Connect to an Elasticsearch index
    • Add-ons
      • bbPress add-on
      • YITH WooCommerce Ajax Search add-on
      • SEO add-ons
        • Yoast SEO add-on
        • All in One SEO add-on
      • Listable add-on
      • ACF add-on
      • Advanced Scoring add-on
      • Cron Scheduling add-on
      • Theme add-on
        • Filters layouts
          • Radiobox & Checkbox Layout
          • Numeric Range Layout
          • Colour Picker Layout
          • Range Slider Layout
        • Add Ajax to the current Theme
        • Collapse taxonomy hierarchies
        • Custom Facets CSS
      • WPML add-on
      • Premium add-on
        • Manage more than one Elasticsearch or Solr index
      • PDF Embedder add-on
      • Geolocation add-on
      • AI Natural Language APIs add-on
        • Amazon Comprehend
        • Google Natural Language
        • Aylien Text Analysis
        • MeaningCloud
        • Qwam Text Analytics
      • Toolset Types add-on
      • AI Image and OCR APIs add-on
        • Google Vision
        • Amazon Rekognition
      • Embed Any Document add-on
      • MyListing add-on
      • Polylang add-on
      • WooCommerce add-on
      • Cross-domain search add-on
      • Directory+ add-on
      • Toolset Views add-on
      • Listify add-on
      • Jobify add-on
      • Query Monitor add-on
  • Quick start
Login
Support
Privacy policy
  • Terms and Conditions
  • © 2020 wpsolr.com. All Rights Reserved.
Youtube
Roadmap