Operation to search for items within a namespace prefix.
interface SearchOperationKey-value pairs to filter results based on exact matches or comparison operators.
Supports both exact matches and operator-based comparisons:
Maximum number of items to return.
Hierarchical path prefix to search within. Only items under this prefix will be searched.
Number of items to skip before returning results. Useful for pagination.
Natural language search query for semantic search. When provided, results will be ranked by relevance to this query using vector similarity search.
// Exact match
filter: { status: "active" }
// With operators
filter: { score: { $gt: 4.99 } }
// Multiple conditions
filter: {
score: { $gte: 3.0 },
color: "red"
}// Search all user documents
namespacePrefix: ["users", "documents"]
// Search everything
namespacePrefix: []// Find technical documentation about APIs
query: "technical documentation about REST APIs"
// Find recent ML papers
query: "machine learning papers from 2023"