Files
Abdon PijpelinkandTim Visée cf94245089 Increase payload indexing advice visibility (#2360)
* Add new 'Create a Payload Index' section

* Add indexing tip to low latency search, search, and filtering docs

* Add bash code snippet

* Edits

* Update qdrant-landing/content/documentation/manage-data/indexing.md

Co-authored-by: Tim Visée <tim@visee.me>

---------

Co-authored-by: Tim Visée <tim@visee.me>
2026-05-20 10:05:33 +02:00

17 lines
488 B
Python

from qdrant_client import QdrantClient, models # @hide
client = QdrantClient(url="http://localhost:6333") # @hide
# @block-start get-current-value
base_ef = client.get_collection(
collection_name="{collection_name}"
).config.hnsw_config.ef_construct
# @block-end get-current-value
# @block-start update-collection
client.update_collection(
collection_name="{collection_name}",
hnsw_config=models.HnswConfigDiff(ef_construct=base_ef + 1),
)
# @block-end update-collection