Cannot clear the index for now.
Have to come up with a solution to partially update the search index
This commit is contained in:
+2
-2
@@ -144,8 +144,8 @@ func (i *Importer) importLibrary() (err error) {
|
||||
alu := 0
|
||||
mfu := 0
|
||||
|
||||
i.search.ClearAll()
|
||||
|
||||
//i.search.ClearAll()
|
||||
//
|
||||
beego.Debug("Saving updated data")
|
||||
j := 0
|
||||
for _, mf := range i.scanner.MediaFiles() {
|
||||
|
||||
Reference in New Issue
Block a user