com.suibari.nagi.searchPosts
Schema Diff
+17 -4
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "com.suibari.nagi.searchPosts",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"output": {
7
7
"schema": {
8
8
"ref": "com.suibari.nagi.getTimeline#output",
9
9
"type": "ref"
10
10
},
11
11
"encoding": "application/json"
12
12
},
13
13
"parameters": {
14
14
"type": "params",
15
-
"required": [
16
-
"tag"
17
-
],
18
15
"properties": {
16
+
"q": {
17
+
"type": "string",
18
+
"maxLength": 200,
19
+
"description": "自由文キーワード。既定では意味検索(埋め込み)+語彙一致のハイブリッドで検索する。"
20
+
},
19
21
"tag": {
20
22
"type": "string",
21
23
"description": "小文字で正規化したタグ(# は含まない)。"
22
24
},
25
+
"mode": {
26
+
"type": "string",
27
+
"default": "hybrid",
28
+
"description": "q 指定時の検索方法。exact=語彙一致のみ(新着順) / semantic=意味近傍のみ(語彙一致ヒットは除外・近い順) / hybrid=両者を混ぜた1本。tag 指定時は無視される。",
29
+
"knownValues": [
30
+
"exact",
31
+
"semantic",
32
+
"hybrid"
33
+
]
34
+
},
23
35
"limit": {
24
36
"type": "integer",
25
37
"default": 50,
26
38
"maximum": 100,
27
39
"minimum": 1
28
40
},
29
41
"cursor": {
30
42
"type": "string"
31
43
}
32
-
}
44
+
},
45
+
"description": "q(自由文キーワード検索)と tag(タグ絞り込み)のどちらか一方を指定する。q 優先。"
33
46
}
34
47
}
35
48
},
36
49
"$type": "com.atproto.lexicon.schema",
37
50
"lexicon": 1
38
51
}