diff options
Diffstat (limited to 'system/item/item.go')
-rw-r--r-- | system/item/item.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/item/item.go b/system/item/item.go index 8f392ca..227cd26 100644 --- a/system/item/item.go +++ b/system/item/item.go @@ -211,7 +211,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 +// partially implements search.Searchable func (i Item) SearchMapping() (*mapping.IndexMappingImpl, error) { mapping := bleve.NewIndexMapping() mapping.StoreDynamic = false @@ -220,7 +220,7 @@ func (i Item) SearchMapping() (*mapping.IndexMappingImpl, error) { } // IndexContent determines if a type should be indexed for searching -// partially implements db.Searchable +// partially implements search.Searchable func (i Item) IndexContent() bool { return false } |