com.suibari.nagi.searchPosts
Schema Diff
+11 -1
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
13
"description": "q(自由文キーワード検索)と tag(タグ絞り込み)のどちらか一方を指定する。q 優先。",
14
14
"properties": {
15
15
"cursor": {
16
16
"type": "string"
17
17
},
18
18
"limit": {
19
19
"default": 50,
20
20
"maximum": 100,
21
21
"minimum": 1,
22
22
"type": "integer"
23
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
+
},
24
34
"q": {
25
-
"description": "自由文キーワード。意味検索(埋め込み)+語彙一致のハイブリッドで検索する。",
35
+
"description": "自由文キーワード。既定では意味検索(埋め込み)+語彙一致のハイブリッドで検索する。",
26
36
"maxLength": 200,
27
37
"type": "string"
28
38
},
29
39
"tag": {
30
40
"description": "小文字で正規化したタグ(# は含まない)。",
31
41
"type": "string"
32
42
}
33
43
},
34
44
"type": "params"
35
45
},
36
46
"type": "query"
37
47
}
38
48
},
39
49
"id": "com.suibari.nagi.searchPosts",
40
50
"lexicon": 1
41
51
}