Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions knowledgebase/unable-to-access-cloud-service.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
title: Tips and tricks on optimizing basic data types in ClickHouse
description: "Tips and tricks on optimizing basic data types in ClickHouse"
title: I am unable to access a ClickHouse Cloud service
description: "Troubleshooting access issues with ClickHouse Cloud services, including IP Access List configuration"
date: 2024-07-02
tags: ['Errors and Exceptions']
keywords: ['accessing cloud service']
tags: ['Errors and Exceptions', 'Managing Cloud']
keywords: ['accessing cloud service', 'IP Access List']
doc_type: 'guide'
---

Expand Down
3 changes: 2 additions & 1 deletion src/components/KBArticleSearch/KBArticleSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const KBArticleSearch = ({kb_articles, kb_articles_and_tags, onUpdateResults}) =
}
);
kb_articles_and_tags.forEach((article)=>{
index.add({id: article.id, title: article.title});
index.add({id: article.id, title: article.title, description: article.description});
})
indexRef.current = index;

Expand Down Expand Up @@ -111,6 +111,7 @@ const KBArticleSearch = ({kb_articles, kb_articles_and_tags, onUpdateResults}) =
} else if (results && searchTerm.length > 1 && results.length === 0) {
setMatchedArticles([]);
} else {
// Extract all indices from all search field results and deduplicate
const indices = results.flatMap(search_field_results => search_field_results.result);
const unique_indices = [...new Set(indices)];
const filteredArticles = kb_articles_and_tags.filter((article) => {
Expand Down