diff --git a/x-pack/platform/plugins/shared/observability_ai_assistant/server/service/startup_migrations/run_startup_migrations.ts b/x-pack/platform/plugins/shared/observability_ai_assistant/server/service/startup_migrations/run_startup_migrations.ts index 61197be53fbfe..04b5c1158e411 100644 --- a/x-pack/platform/plugins/shared/observability_ai_assistant/server/service/startup_migrations/run_startup_migrations.ts +++ b/x-pack/platform/plugins/shared/observability_ai_assistant/server/service/startup_migrations/run_startup_migrations.ts @@ -105,7 +105,7 @@ async function isKnowledgeBaseSemanticTextCompatible({ export function isSemanticTextUnsupportedError(error: Error) { const semanticTextUnsupportedError = - 'The [sparse_vector] field type is not supported on indices created on versions 8.0 to 8.10'; + '[semantic_text] is available on indices created with 8.11 or higher. Please create a new index to use [semantic_text]'; const isSemanticTextUnspported = error instanceof errors.ResponseError && diff --git a/x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/ai_assistant/knowledge_base/knowledge_base_8.10_upgrade_test.spec.ts b/x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/ai_assistant/knowledge_base/knowledge_base_8.10_upgrade_test.spec.ts index 816c5c24e46c8..da63a79bce1f3 100644 --- a/x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/ai_assistant/knowledge_base/knowledge_base_8.10_upgrade_test.spec.ts +++ b/x-pack/solutions/observability/test/api_integration_deployment_agnostic/apis/ai_assistant/knowledge_base/knowledge_base_8.10_upgrade_test.spec.ts @@ -34,7 +34,7 @@ export default function ApiTest({ getService }: DeploymentAgnosticFtrProviderCon // The semantic text field was added to the knowledge base index in 8.17 // Indices created in 8.10 do not support semantic text field and need to be reindexed // Failing: See https://github.com/elastic/kibana/issues/233043 - describe.skip('Knowledge base: when upgrading from 8.10 to 8.18', function () { + describe('Knowledge base: when upgrading from 8.10 to 8.18', function () { // Intentionally skipped in all serverless environnments (local and MKI) // because the migration scenario being tested is not relevant to MKI and Serverless. this.tags(['skipServerless', 'skipCloud']);