mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
enhance(backend): ノートのハッシュタグもMeilisearchに突っ込むように
今後ハッシュタグ検索とか実装するときのため
This commit is contained in:
parent
df924d18f1
commit
26d85c8bed
@ -82,6 +82,7 @@ export class SearchService {
|
||||
'userId',
|
||||
'userHost',
|
||||
'channelId',
|
||||
'tags',
|
||||
],
|
||||
typoTolerance: {
|
||||
enabled: false,
|
||||
@ -107,6 +108,7 @@ export class SearchService {
|
||||
channelId: note.channelId,
|
||||
cw: note.cw,
|
||||
text: note.text,
|
||||
tags: note.tags,
|
||||
}], {
|
||||
primaryKey: 'id',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user