pinecone-io / pinecone-java-client

The official Java client for the Pinecone vector database
https://www.pinecone.io
Apache License 2.0
35 stars 12 forks source link

Deprecate createIndex method #105

Closed aulorbe closed 5 months ago

aulorbe commented 5 months ago

Problem

Now that we have the new create index methods (createPodsIndex and createServerlessIndex), we need to deprecate createIndex and update the places in which it's used throughout the codebase.

Related ticket: https://app.asana.com/0/1203260648987893/1206994598304493/f

Type of Change

Test Plan

All unit tests and integration tests are running successfully locally. 🤞 CI/CD behaves!

Will do a quick follow with a PR to update the README accordingly.

aulorbe commented 5 months ago

Merging even though the happy path integration test is failing b/c it's a known flakiness error and I have cleared it with @rohanshah18 over Slack. Onwards!