Cannot clear the index for now.

Have to come up with a solution to partially update the search index
This commit is contained in:
Deluan
2016-03-16 23:44:24 -04:00
parent 86da33f91d
commit a3238ce17b
+2 -2
View File
@@ -144,8 +144,8 @@ func (i *Importer) importLibrary() (err error) {
alu := 0 alu := 0
mfu := 0 mfu := 0
i.search.ClearAll() //i.search.ClearAll()
//
beego.Debug("Saving updated data") beego.Debug("Saving updated data")
j := 0 j := 0
for _, mf := range i.scanner.MediaFiles() { for _, mf := range i.scanner.MediaFiles() {