diff options
author | Steve Manuel <nilslice@gmail.com> | 2017-04-13 13:29:18 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2017-04-13 13:29:18 -0700 |
commit | ade7c2d69c9884c493fbc2f66f6a7405c0f4f96b (patch) | |
tree | 39d5fb68b9e959b55ec3a0dbde05375f8e4ef962 /system/item/item.go | |
parent | fe9938cc4ce7885533bf751de5b2eb65a962e99c (diff) |
moving search into own package and renaming funcs throughout
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 } |