* feat: build index & search with bleve (#1740) * delete unused struct Co-authored-by: Noah Hsu <i@nn.ci>
11 lines
180 B
Go
11 lines
180 B
Go
package bootstrap
|
|
|
|
import (
|
|
"github.com/alist-org/alist/v3/internal/conf"
|
|
"github.com/alist-org/alist/v3/internal/index"
|
|
)
|
|
|
|
func InitIndex() {
|
|
index.Init(&conf.Conf.IndexDir)
|
|
}
|