From 8e2069c554672204f83d58904828cb7fedb949d8 Mon Sep 17 00:00:00 2001 From: BoYanZh Date: Sun, 15 Jan 2023 23:49:23 +0800 Subject: [PATCH] fix: db non full-text import error (#3055) --- internal/search/db_non_full_text/init.go | 2 +- internal/search/db_non_full_text/search.go | 2 +- internal/search/import.go | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/search/db_non_full_text/init.go b/internal/search/db_non_full_text/init.go index 9ac56fa3..a0fcae49 100644 --- a/internal/search/db_non_full_text/init.go +++ b/internal/search/db_non_full_text/init.go @@ -1,4 +1,4 @@ -package db +package db_non_full_text import ( "github.com/alist-org/alist/v3/internal/search/searcher" diff --git a/internal/search/db_non_full_text/search.go b/internal/search/db_non_full_text/search.go index 7c88c758..32d8c492 100644 --- a/internal/search/db_non_full_text/search.go +++ b/internal/search/db_non_full_text/search.go @@ -1,4 +1,4 @@ -package db +package db_non_full_text import ( "context" diff --git a/internal/search/import.go b/internal/search/import.go index 929b1583..822ae3f7 100644 --- a/internal/search/import.go +++ b/internal/search/import.go @@ -3,4 +3,5 @@ package search import ( _ "github.com/alist-org/alist/v3/internal/search/bleve" _ "github.com/alist-org/alist/v3/internal/search/db" + _ "github.com/alist-org/alist/v3/internal/search/db_non_full_text" )