summaryrefslogtreecommitdiff
path: root/system/item
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2017-04-13 13:50:03 -0700
committerGitHub <noreply@github.com>2017-04-13 13:50:03 -0700
commit9c4ae8431ad9d7cbe71a2442ce3a9b8481325621 (patch)
tree39d5fb68b9e959b55ec3a0dbde05375f8e4ef962 /system/item
parentfe9938cc4ce7885533bf751de5b2eb65a962e99c (diff)
parentade7c2d69c9884c493fbc2f66f6a7405c0f4f96b (diff)
Merge pull request #121 from ponzu-cms/ponzu-dev
[core] moving search into own package and renaming funcs throughout
Diffstat (limited to 'system/item')
-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
}