mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-29 01:13:02 +00:00
enhance(backend): ノートのハッシュタグもMeilisearchに突っ込むように
今後ハッシュタグ検索とか実装するときのため
This commit is contained in:
parent
df924d18f1
commit
26d85c8bed
1 changed files with 2 additions and 0 deletions
|
@ -82,6 +82,7 @@ export class SearchService {
|
||||||
'userId',
|
'userId',
|
||||||
'userHost',
|
'userHost',
|
||||||
'channelId',
|
'channelId',
|
||||||
|
'tags',
|
||||||
],
|
],
|
||||||
typoTolerance: {
|
typoTolerance: {
|
||||||
enabled: false,
|
enabled: false,
|
||||||
|
@ -107,6 +108,7 @@ export class SearchService {
|
||||||
channelId: note.channelId,
|
channelId: note.channelId,
|
||||||
cw: note.cw,
|
cw: note.cw,
|
||||||
text: note.text,
|
text: note.text,
|
||||||
|
tags: note.tags,
|
||||||
}], {
|
}], {
|
||||||
primaryKey: 'id',
|
primaryKey: 'id',
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue