enhance(search): meilisearch indexing all notes
This commit is contained in:
parent
86b0951ba3
commit
34bf2ab0dd
@ -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…
Reference in New Issue
Block a user