From 71e60b673d30d9855d11c9a81609917d43f37624 Mon Sep 17 00:00:00 2001 From: timvisee Date: Fri, 12 Jan 2024 11:29:41 +0100 Subject: [PATCH] Update integer index params type naming --- qdrant-landing/content/documentation/concepts/indexing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qdrant-landing/content/documentation/concepts/indexing.md b/qdrant-landing/content/documentation/concepts/indexing.md index b7102876b..c5e1d2118 100644 --- a/qdrant-landing/content/documentation/concepts/indexing.md +++ b/qdrant-landing/content/documentation/concepts/indexing.md @@ -223,7 +223,7 @@ client = QdrantClient(host="localhost", port=6333) client.create_payload_index( collection_name="{collection_name}", field_name="name_of_the_field_to_index", - field_schema=models.IntegerParams( + field_schema=models.IntegerIndexParams( type="integer", lookup=False, range=True, @@ -251,7 +251,7 @@ use qdrant_client::{ client::QdrantClient, qdrant::{ payload_index_params::IndexParams, FieldType, PayloadIndexParams, - IntegerParams, TokenizerType, + IntegerIndexParams, TokenizerType, }, }; @@ -263,7 +263,7 @@ client "name_of_the_field_to_index", FieldType::Integer, Some(&PayloadIndexParams { - index_params: Some(IndexParams::IndexParams(IndexParams { + index_params: Some(IndexParams::IntegerIndexParams(IntegerIndexParams { lookup: false, range: true, })),