From 8d0607ed25f4e013822629ffeaa778e3eac7f364 Mon Sep 17 00:00:00 2001
From: Stefano Lottini <hemidactylus@users.noreply.github.com>
Date: Wed, 6 Mar 2024 20:18:38 +0100
Subject: [PATCH] Astra DB vector store: rephrase the warning about indexing
 (#11702)

---
 .../llama_index/vector_stores/astra_db/base.py            | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/llama_index/vector_stores/astra_db/base.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/llama_index/vector_stores/astra_db/base.py
index 03ee81d297..d2cafbb6a2 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/llama_index/vector_stores/astra_db/base.py
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-astra-db/llama_index/vector_stores/astra_db/base.py
@@ -126,9 +126,11 @@ class AstraDBVectorStore(BasePydanticVectorStore):
                 if "indexing" not in pre_col_options:
                     warn(
                         (
-                            f"Collection '{collection_name}' is detected as legacy"
-                            " and has indexing turned on for all fields. This"
-                            " implies stricter limitations on the amount of text"
+                            f"Collection '{collection_name}' is detected as "
+                            "having indexing turned on for all fields "
+                            "(either created manually or by older versions "
+                            "of this plugin). This implies stricter "
+                            "limitations on the amount of text"
                             " each entry can store. Consider reindexing anew on a"
                             " fresh collection to be able to store longer texts."
                         ),
-- 
GitLab