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