Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Unreleased Changes

## [2.0.6](https://github.com/pinecone-io/pinecone-python-client/compare/v2.0.5...v2.0.5) - 2022-02-15

### Changed
- Changed the spec to add ```pods``` and ```pod_type``` fields to ```create_index``` and ```describe_index```.
- ```pod_type``` is used to select between ```'s1'``` and ```'p1'``` pod types during index creation.
- The field ```pods``` means total number of pods the index will use, ```pods = shards*replicas```.

## [2.0.5](https://github.com/pinecone-io/pinecone-python-client/compare/v2.0.5...v2.0.4) - 2022-01-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion pinecone/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def describe_index(name: str):
ready = response['status']['ready']
return IndexDescription(name=db['name'], index_type=db['index_type'], metric=db['metric'],
replicas=db['replicas'], dimension=db['dimension'], shards=db['shards'],
pods=db.get('pods', db['shards']), pod_type=db.get('pod_type', 'p1'),
pods=db.get('pods', db['shards']*db['replicas']), pod_type=db.get('pod_type', 'p1'),
index_config=db['index_config'], status={'ready': ready})


Expand Down