Cannot clear the index for now.
Have to come up with a solution to partially update the search index
This commit is contained in:
parent
86da33f91d
commit
a3238ce17b
1 changed files with 2 additions and 2 deletions
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue