Adding 'is_searchable' status for tables which should be full-text searchable.
[arvados.git] / services / api / app / models / collection.rb
index 03e5e4ef44c32948e3f923ad3b849f0d71e28c8e..c6ecee38fd36b16a18d958e98cb3f3c5894eed47 100644 (file)
@@ -8,6 +8,10 @@ class Collection < ArvadosModel
     t.add :files
   end
 
+  def is_searchable
+    true
+  end
+
   def redundancy_status
     if redundancy_confirmed_as.nil?
       'unconfirmed'