createPayloadIndex
abstract suspend fun createPayloadIndex(name: String, field: String, schema: PayloadSchemaType, wait: Boolean = false)
Create a payload field index so filtering on field scales. Without an index, filters do a full scan.
qdrant.createPayloadIndex("docs", "lang", PayloadSchemaType.KEYWORD)Content copied to clipboard