---
title: condition | CodeWeaver Docs
description: API reference for codeweaver.providers.vector_stores.search.condition
url: "https://docs.knitli.com/api/providers/vector_stores/search/condition"
type: static
generatedAt: "2026-04-17T17:21:09.471Z"
---

# condition
       [Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F.%20I%20want%20to%20ask%20questions%20about%20it.)[View in Markdown](/codeweaver/api/providers/vector_stores/search/condition.md)       [Share on LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F)[Share on X](https://x.com/intent/tweet?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F&text=condition)[Share on Threads](https://threads.net/intent/post?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F&text=condition)[Share on Bluesky](https://bsky.app/intent/compose?text=condition%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F)[Share on Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F)[Share on Reddit](https://reddit.com/submit?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F&title=condition)[Share on Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F&t=condition)[Share on Email](mailto:?subject=condition&body=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F)[Share on WhatsApp](https://wa.me/?text=condition%20https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F)[Share on Telegram](https://t.me/share/url?url=https%3A%2F%2Fdocs.knitli.com%2Fcodeweaver%2Fapi%2Fproviders%2Fvector_stores%2Fsearch%2Fcondition%2F&text=condition)
# `codeweaver.providers.vector_stores.search.condition`
[Section titled “codeweaver.providers.vector_stores.search.condition”](#codeweaverprovidersvector_storessearchcondition)
Module defining various search conditions for filtering points based on payload and other criteria.

Nearly all of this file and its contents were adapted from Qdrant’s example MCP server, [mcp-server-qdrant ↗](https://github.com/qdrant/mcp-server-qdrant/), and fall under Qdrant’s copyright and Apache 2.0 license. Any modifications or changes made to the original code are copyrighted by Knitli Inc. and are licensed under MIT OR Apache-2.0, whichever you want.

## Class: `FieldCondition`
[Section titled “Class: FieldCondition”](#class-fieldcondition)
All possible payload filtering conditions.

## Class: `Filter`
[Section titled “Class: Filter”](#class-filter)
Filter conditions.

## Class: `FilterableField`
[Section titled “Class: FilterableField”](#class-filterablefield)
Represents a field that can be filtered.

## Class: `HasIdCondition`
[Section titled “Class: HasIdCondition”](#class-hasidcondition)
ID-based filtering condition.

## Class: `HasVectorCondition`
[Section titled “Class: HasVectorCondition”](#class-hasvectorcondition)
Filter points which have specific vector assigned.

## Class: `IsEmptyCondition`
[Section titled “Class: IsEmptyCondition”](#class-isemptycondition)
Select points with empty payload for a specified field.

## Class: `IsNullCondition`
[Section titled “Class: IsNullCondition”](#class-isnullcondition)
Select points with null payload for a specified field.

## Class: `MinShould`
[Section titled “Class: MinShould”](#class-minshould)
Minimum number of conditions that must match.

## Class: `Nested`
[Section titled “Class: Nested”](#class-nested)
Select points with payload for a specified nested field.

## Class: `NestedCondition`
[Section titled “Class: NestedCondition”](#class-nestedcondition)
Select points with payload for a specified nested field.

## Class: `ValuesCount`
[Section titled “Class: ValuesCount”](#class-valuescount)
Values count filter request.