Resolve #3119
This commit is contained in:
parent
772258b0b8
commit
0db54386cd
14 changed files with 147 additions and 90 deletions
|
@ -435,11 +435,12 @@ function index(note: Note) {
|
|||
if (note.text == null || config.elasticsearch == null) return;
|
||||
|
||||
es!.index({
|
||||
index: 'misskey',
|
||||
type: 'note',
|
||||
index: 'misskey_note',
|
||||
id: note.id.toString(),
|
||||
body: {
|
||||
text: note.text
|
||||
text: note.text.toLowerCase(),
|
||||
userId: note.userId,
|
||||
userHost: note.userHost
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue