enhance(search): meilisearch indexing all notes
This commit is contained in:
parent
86b0951ba3
commit
34bf2ab0dd
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ export class SearchService {
|
||||||
@bindThis
|
@bindThis
|
||||||
public async indexNote(note: MiNote): Promise<void> {
|
public async indexNote(note: MiNote): Promise<void> {
|
||||||
if (note.text == null && note.cw == null) return;
|
if (note.text == null && note.cw == null) return;
|
||||||
if (!['home', 'public'].includes(note.visibility)) return;
|
// if (!['home', 'public'].includes(note.visibility)) return;
|
||||||
|
|
||||||
if (this.meilisearch) {
|
if (this.meilisearch) {
|
||||||
switch (this.meilisearchIndexScope) {
|
switch (this.meilisearchIndexScope) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue