summaryrefslogtreecommitdiff
path: root/system/item/item.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-04-11 20:03:36 -0700
committerSteve Manuel <nilslice@gmail.com>2017-04-11 20:03:36 -0700
commit10ede97c593fe229745ae37175ec465c55561810 (patch)
tree751afab58bc721bbbd6e5adfbb8ef3c3575b44bf /system/item/item.go
parent39ed91df81073489b485fae9a437fdb74954c40b (diff)
parent3c277a7c41aed0fe3e59fa1ccfd19b48d810b545 (diff)
Merge branch 'master' of https://github.com/ponzu-cms/ponzu
Diffstat (limited to 'system/item/item.go')
-rw-r--r--system/item/item.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/item/item.go b/system/item/item.go
index 4750ef5..8f392ca 100644
--- a/system/item/item.go
+++ b/system/item/item.go
@@ -219,6 +219,12 @@ func (i Item) SearchMapping() (*mapping.IndexMappingImpl, error) {
return mapping, nil
}
+// IndexContent determines if a type should be indexed for searching
+// partially implements db.Searchable
+func (i Item) IndexContent() bool {
+ return false
+}
+
// Slug returns a URL friendly string from the title of a post item
func Slug(i Identifiable) (string, error) {
// get the name of the post item