mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
rename index file
This commit is contained in:
@@ -58,7 +58,7 @@ func createIndex() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
indexPath := utils.GetStoragePath() + "/search_index.bleve"
|
indexPath := utils.GetStoragePath() + "/resource_index.bleve"
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
index, err = bleve.Open(indexPath)
|
index, err = bleve.Open(indexPath)
|
||||||
|
Reference in New Issue
Block a user