From bf15dcfa48a46991f3c6d90f50aa491b5a15d5df Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Thu, 6 Apr 2017 12:57:54 -0700 Subject: default implementation fix --- system/item/item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/item/item.go b/system/item/item.go index 24ac003..5babf35 100644 --- a/system/item/item.go +++ b/system/item/item.go @@ -212,7 +212,7 @@ func (i Item) AfterReject(res http.ResponseWriter, req *http.Request) error { // SearchMapping returns a default implementation of a Bleve IndexMappingImpl // partially implements db.Searchable -func SearchMapping() *mapping.IndexMappingImpl { +func (i Item) SearchMapping() *mapping.IndexMappingImpl { mapping := bleve.NewIndexMapping() mapping.StoreDynamic = false -- cgit v1.2.3