Throw error message when trying to update vector index type configuration in a collection
Maintainers usually reply within 1 day
@jackiectl2 is already working on this.
Since Oct 8, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start at the collection configuration update entry point used by dynamicTestCollection.config.update and inspect how Reconfigure.VectorIndex changes are handled. Add regression coverage for attempts to change between hnsw, flat, and dynamic, and verify that each invalid change raises an error explaining that reindexing is required.
Written by the indexing model from the issue text.
Description
Background: I have been running latency tests to compare results of hnsw, flat and dynamic vector indexes. While inserting objects I realised , I had incorrectly configured the collection to flat when I had to configure it to dynamic index. I tried to update the vector index config in the collection using the following python code. The script did not throw any error. However, the vector index did not update to dynamic . It continued showing flat index.
from weaviate.classes.config import Reconfigure
# Get the Article collection object
dynamicTestCollection = client.collections.get("Testingdynamicindexings")
# Update the collection configuration
dynamicTestCollection.config.update(
vectorizer_config= Reconfigure.VectorIndex.dynamic()
)
Actual result: The client did not throw error message stating that vector index cannot be updated from hnsw or flat or dynamic
Expected result: The client should throw an error. Vector index type cannot be changed by changing the config. The objects have be to fully reindex (unfortunately).
- Dominant language
- Python
- Stars
- 230
- Forks
- 173
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 23
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from weaviate/weaviate-python-client
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
weaviate/weaviate-python-client#2265 ·
Maintainers usually reply within 1 day
-
Batch: re-added rate-limited objects stay in results.objs.all_responses as errorsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
weaviate/weaviate-python-client#2179 ·
Maintainers usually reply within 1 day
-
collections/batch: one object that fails client-side encoding fails every object sent with itPossibly taken @shadowmodder claimed this today. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 72/100
weaviate/weaviate-python-client#2266 ·
Maintainers usually reply within 1 day
-
batch insert fails the whole batch with "ValueError: Unexpected type" when a value is a DecimalPossibly taken @steven-asearcy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
weaviate/weaviate-python-client#2263 ·
Maintainers usually reply within 1 day
-
collections/batch/sync.py: after a fast hang-up reconnect the old stream's sender steals a request, hanging add_objectPossibly taken @shadowmodder claimed this 2 days ago. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 45/100
weaviate/weaviate-python-client#2261 ·
Maintainers usually reply within 1 day
All issues in weaviate/weaviate-python-client
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
docling-project/docling-pipelines#669 ·
Maintainers usually reply within 1 day
-
blocked kind/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opendatahub-io/agent-eval-harness#329 · 2 comments · 1 reaction ·
-
cc_wrapper crashes with ValueError on Windows when a path is on another drivePossibly taken @TrapsterDK claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
tweag/rules_haskell#2492 ·
Maintainers usually reply within 1 day