Loading...
Loading...
Compare original and translation side by side
titletypetagspermalinkschemaentity_metadatatitletypetagspermalinkschemaentity_metadatastatus: draftpriority: highconfidence > 0.7score between 0.3 and 0.8status: draftpriority: highconfidence > 0.7scoresearch_notesmetadata_filterstagsstatusqueryNonesearch_notesmetadata_filterstagsstatusqueryNone{"status": "active"}{"status": "active"}{"tags": ["security", "oauth"]}{"tags": ["security", "oauth"]}$in$in{"priority": {"$in": ["high", "critical"]}}{"priority": {"$in": ["high", "critical"]}}$gt$gte$lt$lte$gt$gte$lt$lte{"confidence": {"$gt": 0.7}}{"confidence": {"$gt": 0.7}}$between$between{"score": {"$between": [0.3, 0.8]}}{"score": {"$between": [0.3, 0.8]}}{"schema.version": "2"}{"schema.version": "2"}| Operator | Syntax | Example |
|---|---|---|
| Equality | | |
| Array contains | | |
| | |
| | |
| | |
| | |
| Nested | | |
[A-Za-z0-9_-]+$in$between[min, max]Warning: Operators MUST include theprefix — write$, not$gte. Without the prefix the filter is treated as an exact-match key and will silently return no results. Correct:gte. Wrong:{"confidence": {"$gte": 0.7}}.{"confidence": {"gte": 0.7}}
| 运算符 | 语法 | 示例 |
|---|---|---|
| 相等匹配 | | |
| 数组包含 | | |
| | |
| | |
| | |
| | |
| 嵌套访问 | | |
[A-Za-z0-9_-]+$in$between[min, max]注意: 运算符必须包含前缀 — 请写$而非$gte。如果没有前缀,筛选器会被当作精确匹配的键处理,且会静默返回空结果。正确写法:gte。错误写法:{"confidence": {"$gte": 0.7}}。{"confidence": {"gte": 0.7}}
search_notessearch_notesmetadata_filterstagsstatussearch_notesqueryundefinedsearch_notesmetadata_filterstagsstatusqueryundefined
**Merging rules:** `tags` and `status` are convenience shortcuts merged into `metadata_filters` via `setdefault`. If the same key exists in `metadata_filters`, the explicit filter wins.
**合并规则:** `tags`和`status`是快捷方式,会通过`setdefault`合并到`metadata_filters`中。如果`metadata_filters`中存在相同的键,则显式指定的筛选器优先级更高。tag:undefinedtag:undefinedundefinedundefined---
title: Auth Design
type: spec
tags: [security, oauth]
status: in-progress
priority: high
confidence: 0.85
------
title: Auth Design
type: spec
tags: [security, oauth]
status: in-progress
priority: high
confidence: 0.85
---
Queries that find it:
```python
可找到该笔记的查询示例:
```pythonundefinedundefined{"status": "active", "priority": "high"}querysearch_notes(metadata_filters={"status": "active"}){"schema.version": "2"}versionschematagsstatusmetadata_filters{"status": "active", "priority": "high"}querysearch_notes(metadata_filters={"status": "active"}){"schema.version": "2"}schemaversiontagsstatusmetadata_filters