diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-04-06 12:57:54 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-04-06 12:57:54 -0700 |
commit | bf15dcfa48a46991f3c6d90f50aa491b5a15d5df (patch) | |
tree | 6f09129ccdcab8e092ebb238848166d59683936b | |
parent | 338d354222a60fdd4c5e9c9493932f684bae6827 (diff) |
default implementation fix
-rw-r--r-- | system/item/item.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |