[Obs AI Assistant] Re-index KB if the index doesn't support semantic text
#210204
Labels
bug
Fixes for quality problems that affect the customer experience
Team:Obs AI Assistant
Observability AI Assistant
Timeline
sparse_vector
field for semantic processing.semantic_text
field.semantic_text
fieldProblem
Any user on 8.10 will have a KB index that does not support
semantic_text
. This means that if a user who has used 8.10 upgrades to 8.17 or later, they will no longer be able to ingest documents into the knowledge base.Reproduce
GET .kibana-observability-ai-assistant-kb
)Solution
Upon adding documents to the KB we should catch the error. We should re-index the KB index if the error thrown is:
Note: We should make sure to block writes to the index as soon as we start re-indexing in order to avoid multiple users starting the migration.
The text was updated successfully, but these errors were encountered: