module RocketCMS::Search

Public Instance Methods

as_indexed_json() click to toggle source
# File lib/rocket_cms/search.rb, line 34
def as_indexed_json
  {name: name, content: SmartExcerpt.strip_tags(content)}
end
es_index?() click to toggle source
# File lib/rocket_cms/search.rb, line 31
def es_index?
  enabled
end