From 9074f54adc4d143baf86aaa569f7cd266651b146 Mon Sep 17 00:00:00 2001 From: Ryan Kuo <8740013+taroface@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:24:59 -0500 Subject: [PATCH] add search synonyms for cluster settings, session settings, MOLT (#19300) --- .../lib/jekyll/algolia/indexer.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/current/jekyll-algolia-dev/lib/jekyll/algolia/indexer.rb b/src/current/jekyll-algolia-dev/lib/jekyll/algolia/indexer.rb index a09ba7741f0..fc6ddf547c7 100644 --- a/src/current/jekyll-algolia-dev/lib/jekyll/algolia/indexer.rb +++ b/src/current/jekyll-algolia-dev/lib/jekyll/algolia/indexer.rb @@ -357,6 +357,24 @@ def self.update_synonyms synonyms: ['materialized view', 'material view'] }, false) + index.save_synonym('session setting', { + objectID: 'session setting', + type: 'synonym', + synonyms: ['session setting', 'session variable', 'session settings', 'session variables', 'session var', 'session vars'] + }, false) + + index.save_synonym('cluster setting', { + objectID: 'cluster setting', + type: 'synonym', + synonyms: ['cluster setting', 'cluster variable', 'cluster settings', 'cluster variables', 'cluster var', 'cluster vars'] + }, false) + + index.save_synonym('molt', { + objectID: 'molt', + type: 'synonym', + synonyms: ['molt', 'migrate off legacy technology'] + }, false) + return end