app/models/concerns/searchable.rb
# Override this in your host app with the scope method to use when importing elasticsearch documents. This
# should probably match the conditions of the indexable_for_elasticsearch? method.
Override this in your host app with the scope method to use when importing elasticsearch documents. This
should probably match the conditions of the indexable_for_elasticsearch. method.
Override this in your host app with the scope method to use when importing elasticsearch documents . This should probably match the conditions of the indexable_for_elasticsearch . method .
def elasticsearch_import_model_scope
      if respond_to?(:statusable?)
        :published
      end
    end
def elasticsearch_import_model_scope if respond_to? ( :statusable? ) :published end end
Override this in your host app with the scope method to use when importing elasticsearch documents.
Override this in your host app with the scope method to use when importing elasticsearch documents .