WPSolr logo
  • Brands & Agencies 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
    • Blog
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
  • Brands & Agencies 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
    • Blog
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
  • Brands & Agencies 💛
  • Products
    • Parsing & Chunking
    • Search
      • Algolia  Search
      • Apache Solr  Search
      • Elasticsearch  Search
      • Google AI Commerce  Search
      • OpenSearch  Search
      • OpenSolr  Search
    • AI Search
      • OpenSearch  AI Search
      • PostgreSQL  AI Search
      • Vespa  AI Search
      • Weaviate  AI Search
    • AI Recommendations
      • Amazon Personalize  AI Recommendations
      • Recombee  AI Recommendations
    • AI Personalized Search & Recommendations
      • Algolia  AI Personalized Search & Recommendations
      • Google AI Commerce  AI Personalized Search & Recommendations
  • Learn
    • Documentation & Guides – Everything to get started fast
    • Youtube – 100 practical videos from setup to live site demos
    • Forums – Direct support from our team
    • Blog
  • Pricing
  • My licenses
  • Meet
  • 📞  Call
    • 📞  US : (951) 612-8259
    • 📞  France : 01 62 04 55 85
Expand All Collapse All
  • What is 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 Weaviate
    • Install Opensearch
    • Install Elasticsearch
    • Elasticsearch Hosting
    • Configure search
      • Getting started with search
      • Getting started with Ajax (live) search
      • Getting started with facets
      • 0. Connect your indexes
        • Create a Google Retail search index
        • Create an Elasticsearch index
          • Generate a test Elasticsearch index
          • Create an Elastic Elasticsearch index
          • Create an Elasticsearch 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 or Opensearch index
          • Create an Alibaba Cloud Elasticsearch index
          • Create a Compose Elasticsearch index
          • Connect to an Elasticsearch index
        • Create an Apache Solr index
          • Generate a test Apache Solr index
          • Create an Apache Solr index
          • Create a SearchStax SolrCloud index
          • Create an Opensolr Solr index
          • Connect to an Apache Solr index
        • Create an Opensearch index
          • Create a WPSOLR Hosting OpenSearch index
          • Create an Amazon AWS OpenSearch index
        • Create a Weaviate index
          • Weaviate with Google PaLM API
          • Weaviate with GPT4All
          • Weaviate with sentence transformers
          • Weaviate with CLIP text-to-image
          • Weaviate with HuggingFace Endpoints API
          • Weaviate with OpenAI GPT API
          • Weaviate with Cohere Multilingual API
          • Weaviate with Question Answering transformers
          • Weaviate with Hybrid search
          • Weaviate with Reranker - Cohere
          • Weaviate with Reranker - Transformers (cross-encoders)
        • Create an Algolia index
      • 1. Activate extensions (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
            • Date Picker (Flatpickr) 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 federated search add-on
        • Directory+ add-on
        • Toolset Views add-on
        • Listify add-on
        • Jobify add-on
        • Query Monitor add-on
      • 2. Define your search
        • 2.3 Boosts
        • 2.3 Suggestions (Ajax search)
        • 2.1 Search
        • 2.2 Data
      • 3. Index your data
    • Configure recommendations
      • Algolia - Recommend and Personalized search
      • Recombee - Recommendations
      • Google Retail - AI Recommendations and Personalized search
      • Amazon Personalize
    • Configure WPSOLR Parsing and Chunking
    • Create your Custom Templates for Citations, Suggestions, Related Posts & Recommendations
  • Quick start

Create a Google Retail search index

1627 views 0 December 20, 2022 Updated on December 18, 2023

Table of Contents

Toggle
  • Setup WPSOLR and Google Retail search
    • Google Retail search demo
    • What is Google Retail search?
  • Create a GCP project with Retail search API authorization
  • 2 – Create the Google Retail index from WPSOLR admin
    • 2.1 The WPSOLR new index form
    • 2.2 Select your data
    • 2.3 Index your data
  • 3 – Google Retail dashboard
    • 3.1 Catalog and branches
    • 3.2 Events
    • 3.3 Serving configs

Setup WPSOLR and Google Retail search

 

Image wpsolr-demo-google-retail.gif of Create a Google Retail search index
Click the image to open the live demo of a WooCommerce shop with 2 thousand products powered by Google Retail search

 

From WPSOLR 22.6.

You will learn how to create a Google Retail search API index for WooCommerce with a few clicks.

 

Google Retail search demo

You can try our live demo of Google Retail search with 2 thousand WooCommerce products

Image wpsolr-google-retail-demo-1024x738.png of Create a Google Retail search index

 

What is Google Retail search?

“The Retail API is a suite of solutions built to help you implement personalized search and recommendations, based on machine learning models, across your websites and mobile applications”.

WPSOLR implements the Retail search, not the Retail recommendations, nor the Retail personalization. Because the AI models that learn from the user behaviour to predict the best recommendations or personalization require a huge quantity of user events (2 millions in the last 90 days for search), that most of WooCommerce sites simply cannot provide. Contact us if you’d like us to implement it for you.

Create a GCP project with Retail search API authorization

Before starting, check out the Google Retail pricing.

 

Image wpsolr-google-retail-project-choose-retail-api-1024x525.png of Create a Google Retail search index

  1. Select your GCP projet
  2. Enter “retail” in the search bar
  3. Select “Retail” with the small shopping icon

 

Image wpsolr-google-retail-project-turn-on-retail-api-1024x364.png of Create a Google Retail search index

 

  1. Click  “Turn on API” to activate the Retail API in your project (billing must be activated before)

 

Image wpsolr-google-retail-project-turn-on-retail-api-continue-1-1024x373.png of Create a Google Retail search index

  1. Click “Continue”

 

Image wpsolr-google-retail-project-data-terms-1024x306.png of Create a Google Retail search index

  1. Click “Accept” to accept term (read theme carefully before)

 

Image wpsolr-google-retail-project-turn-on-retail-search-api-1024x265.png of Create a Google Retail search index

  1. Click on “Turn on” to activate Retail search (if you decline, only Retail recommendation are active, and integration with WooCommerce search will not work)

 

Image wpsolr-google-retail-project-get-started-1024x262.png of Create a Google Retail search index

  1. Click on “Get started” to display the retail dashboard

 

Image wpsolr-google-retail-project-service-account-menu-1024x591.png of Create a Google Retail search index

  1. select menu “Service Accounts” after typing “service accounts” in the to search bar

 

Image wpsolr-google-retail-project-service-account-name-1024x403.png of Create a Google Retail search index

  1. Enter the new service account name
  2. Enter the new service account details
  3. Click on “Create and continue”

 

Image wpsolr-google-retail-project-service-account-role-1024x439.png of Create a Google Retail search index

  1. Click on “Role”
  2. Select your role

 

Image wpsolr-google-retail-project-service-account-role-continue-1024x402.png of Create a Google Retail search index

  1. Click on “Continue”

 

Image wpsolr-google-retail-project-service-account-role-done-1024x340.png of Create a Google Retail search index

  1. Just click on “Done”

 

Image wpsolr-google-retail-project-service-account-edit-1024x380.png of Create a Google Retail search index

  1. Edit the new service account to create an access encrypted key

 

Image wpsolr-google-retail-project-service-account-create-key-1024x386.png of Create a Google Retail search index

  1. Click on tab “Keys”
  2. Click on “Add key”
  3. Select “json”
  4. Click on “create”

 

Image wpsolr-google-retail-project-service-account-created-key-1024x338.png of Create a Google Retail search index

  1. The json private key is downloaded on your computer

 

Image word-image-45.png of Create a Google Retail search index

  1. Open your key.json and copy its content. It will be used later during the WPSOLR setup.

 

 

2 – Create the Google Retail index from WPSOLR admin

2.1 The WPSOLR new index form

Google Retail search: new indexImage wpsolr-google-retail-project-create-indexpng-1024x495.png of Create a Google Retail search index

  •  (1), (2), then (3) to edit a new index
  • (4) Select “Google Retail search” among index types
  • (5) Select “Google Cloud” among Hosting Services
  • (6) Set a name for you index, visible in WPSOLR admin
  • (7) Copy your JSON Key as the credentials for this catalog
  • (8) Enter a language among bcp47 official languages
  • (9) Enter a branch among “0”, “1” and “2”. Each catalog (index) can have 3 branches, for testing purpose
  • (10) Create the index. Done!Image wpsolr-google-retail-project-created-index-1024x410.png of Create a Google Retail search index

2.2 Select your data

(Nothing special here)

2.3 Index your data

Image wpsolr-google-retail-project-indexedpng-1024x440.png of Create a Google Retail search index

 

3 – Google Retail dashboard

3.1 Catalog and branches

Consider your index as a catalog branch. After you index some WooCommerce products, the catalog branch will be filled with the products, their standard attributes and taxonomies, and also with the custom attributes you selected in screen 2.2

 

Image wpsolr-google-retail-project-data-menu-1024x284.png of Create a Google Retail search index

Image wpsolr-google-retail-project-data-products-1024x495.png of Create a Google Retail search index

 

3.2 Events

WPSOLR does not collect nor send user events. Too many events are required to get acceptable recommendations or personalization (at least for small/medium WooCommerce sites).

Image wpsolr-google-retail-project-data-events-1024x431.png of Create a Google Retail search index

 

3.3 Serving configs

Google Retail uses the notion of “Serving configs” to let users define several search configurations. By default, WPSOLR will use “default_search”.

 

Image wpsolr-google-retail-project-serving-configs-1-1024x190.png of Create a Google Retail search index

Image wpsolr-google-retail-project-serving-configs-1024x343.png of Create a Google Retail search index

 

You can perform some searches with filters on the Serving configs “Evaluate” tab also:

Image wpsolr-google-retail-project-serving-configs-evaluate-1024x512.png of Create a Google Retail search index

 

You can customize your Serving configs by adding “Controls”, to filter, boost, or add synonyms to your search outside of WPSOLR:

Image wpsolr-google-retail-project-serving-configs-controls-1024x310.png of Create a Google Retail search index

Image wpsolr-google-retail-project-serving-configs-control-new-1024x631.png of Create a Google Retail search index

Was this helpful?

Yes  No
Related Articles
  • Configure WPSOLR Parsing and Chunking
  • Create a WPSOLR Hosting OpenSearch index
  • Create your Custom Templates for Citations, Suggestions, Related Posts & Recommendations
  • Getting started with facets
  • Getting started with Ajax (live) search
  • Getting started with search

Didn't find your answer? Contact Us

Previously
0. Connect your indexes
Up Next
Create an Elasticsearch index

Built for brands and agencies worldwide

Adobe
Software Development
10K+ employees
Harvard University
Higher Education
798K alumni
University of Essex
Higher Education
101K alumni
Tally
Software development
501-1K employees
WebFX
Advertising Services
501-1K employees
DEFINITION 6
Advertising Services
1K-5K employees
Proto Thema
Newspaper Publishing
51-200 employees
The Fold London
Retail Apparel and Fashion
11-50 employees
Georgia-Pacific LLC
Paper and Forest Product Manufacturing
10K+ employees
Agencies, Software, Universities, Media, Newspapers, Publishers, Retails, Manufacturing, E-Commerce. And many more »

Recommended content

Powered by WPSOLR Enterprise with Recombee

Understand Where Your Store Is Losing Sales
Join our Affiliate Program!
Features
Search Hosting for WordPress
File Parsing and Chunking
Integration Hub
Search
Facets (Filters)
Search Add-ons
Recommendations
Keyword search engines
Comparison grid
Apache Solr & Solr Cloud
Elasticsearch
OpenSearch
Algolia
AI search engines
Comparison grid
PostgreSQL pgvector
Weaviate
Google Retail
Vespa.ai
OpenSearch vector
AI recommendation engines
Comparison grid
Recombee
Amazon Personalize
AI personalization engines
Comparison grid
Google Retail
Algolia
Buy and Learn
Pricing
Privacy policy
Terms and Conditions
© 2026 Eostis SARL. All Rights Reserved.
More
My licenses
Support
Documentation
Blog
Recommendations powered for you by WPSolr
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}