Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update index_management.py
  • Loading branch information
simorenoh committed Mar 21, 2024
commit 20f533c995f076abe4b062e283ef99a23992c246
4 changes: 2 additions & 2 deletions sdk/cosmos/azure-cosmos/samples/index_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,8 @@ def use_vector_embedding_policy(db):
# Create a container with vector embedding policy and vector indexes
indexing_policy = {
"vectorIndexes": [
{"path": "/vector1", "type": "DiskANN"},
{"path": "/vector2", "type": "Flat"},
{"path": "/vector1", "type": "Flat"},
{"path": "/vector2", "type": "QuantizedFlat"},
{"path": "/vector3", "type": "DiskANN"}
]
}
Expand Down