summaryrefslogtreecommitdiff
path: root/system/db/init.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-04-06 17:53:34 -0700
committerSteve Manuel <nilslice@gmail.com>2017-04-06 17:53:34 -0700
commitba201f640c883d5ed2f3e1f68daff3a7ee4c8b9f (patch)
treef3640ff2fabd1b45b62a0f045ba19289ebb5625c /system/db/init.go
parentbf15dcfa48a46991f3c6d90f50aa491b5a15d5df (diff)
renaming and add Delete operation for search index
Diffstat (limited to 'system/db/init.go')
-rw-r--r--system/db/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/db/init.go b/system/db/init.go
index e59e7c4..a598fa7 100644
--- a/system/db/init.go
+++ b/system/db/init.go
@@ -80,7 +80,7 @@ func Init() {
go func() {
for t := range item.Types {
- err := MapIndex(t)
+ err := MapSearchIndex(t)
if err != nil {
log.Fatalln("[search] Error:", err)
return