Metadata Filtering
Metadata filtering allows you to narrow search results based on the metadata attached to your files. This page covers how to filter using metadata with comprehensive syntax and operations.
Need to understand metadata types? This page covers filtering syntax and operations. For supported metadata types and structure, see Metadata Types.
Filter Structure
Example filter structure:
Logical Operators
All (AND Operation)
All conditions must be true:
Any (OR Operation)
At least one condition must be true:
None (NOT Operation)
None of the conditions should be true:
Comparison Operators
Equality and Comparison Operators
Data Type Filtering
String Values
Case-sensitive by default - ensure consistent casing in your metadata:
Numeric Values
Support integer and float comparisons:
Boolean Values
Support true/false conditions:
Date Values
Recommend ISO 8601 format:
Array/List Values
Support membership filtering:
Combined Logical Operations
Nested Conditions
Complex multi-level filtering example:
Next Steps
Now that you understand metadata filtering, explore these related topics:
- Metadata Types: Learn about supported metadata types and structure
- Search Basics: Core search concepts and parameters
- Reranking: Improve filtered results with reranking
- Data Models: Understand how metadata flows through the system
Pro Tip: Design your metadata schema early and keep it consistent across files. Well-structured metadata makes filtering powerful and intuitive.
Last updated: July 15, 2025