Skip to content

Add support for delete vector index operation#310

Open
mpartipilo wants to merge 1 commit intomainfrom
feature/delete-vector-index
Open

Add support for delete vector index operation#310
mpartipilo wants to merge 1 commit intomainfrom
feature/delete-vector-index

Conversation

@mpartipilo
Copy link
Collaborator

Summary

  • Syncs OpenAPI spec from upstream alter-schema-drop-vector-index branch
  • Adds DeleteVectorIndex(vectorName) to CollectionConfigClient with [RequiresWeaviateVersion(1, 37, 0)] guard
  • Implements full REST chain: endpoint builder → REST client method → public API method

Closes #308

Test plan

  • Unit tests: version mismatch throws WeaviateVersionMismatchException on server < 1.37
  • Unit tests: DELETE sent to correct path (/v1/schema/{class}/vectors/{vector}/index)
  • Unit tests: default vector name path verified
  • Integration test: requires Weaviate 1.37+ server (skipped on older versions via RequireVersion)

🤖 Generated with Claude Code

Add support for deleting a vector index via
DELETE /v1/schema/{className}/vectors/{vectorIndexName}/index.
Requires Weaviate server version 1.37.0 or later.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 3   info 3 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca
🛡️ The following IaC misconfigurations have been detected
NAME FILE
low Response on operations that should have a body has undefined schema .../Schema/openapi.json View in code
low Response on operations that should have a body has undefined schema .../Schema/openapi.json View in code
low Response Code Missing (v3) .../Schema/openapi.json View in code
info Type Has Invalid Keyword .../Schema/openapi.json View in code
info Template Path With No Corresponding Path Parameter .../Schema/openapi.json View in code
info Template Path With No Corresponding Path Parameter .../Schema/openapi.json View in code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for delete vector index operation

1 participant