module RocketCMS::ElasticSearch

Public Instance Methods

search_data() click to toggle source
# File lib/rocket_cms/elastic_search.rb, line 23
def search_data
  {
      _id: _id,
      name: name,
      content: SmartExcerpt.strip_tags(content),
  }
end