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:
// Exact match
filter: { status: "active" }
// With operators
filter: { score: { $gt: 4.99 } }
// Multiple conditions
filter: {
score: { $gte: 3.0 },
color: "red"
}Maximum number of items to return.
Hierarchical path prefix to search within. Only items under this prefix will be searched.
// Search all user documents
namespacePrefix: ["users", "documents"]
// Search everything
namespacePrefix: []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.
// Find technical documentation about APIs
query: "technical documentation about REST APIs"
// Find recent ML papers
query: "machine learning papers from 2023"