summaryrefslogtreecommitdiff
path: root/system/item/item.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-04-14 17:34:16 -0700
committerSteve Manuel <nilslice@gmail.com>2017-04-14 17:34:16 -0700
commit1df78f4390b0153f48108ae1aa504719730d2b2f (patch)
tree7f9da51f9669ee4fba8dd2d82ec6618e157fe6b6 /system/item/item.go
parent167cbd869a26e2798ae56653c34eeb65d16e1d92 (diff)
parentfcb69059f0ef206efafffa6abc10dd4245280d12 (diff)
Merge branch 'master' of https://github.com/ponzu-cms/ponzu
Diffstat (limited to 'system/item/item.go')
-rw-r--r--system/item/item.go4
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
}