]> git.notmuchmail.org Git - sup/commitdiff
whoops, fix spurious delete in previous commit
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 26 Dec 2007 21:21:52 +0000 (13:21 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Wed, 26 Dec 2007 21:21:52 +0000 (13:21 -0800)
lib/sup/index.rb

index 84771cac4c995050a3b81dade5515d1d51d5d641..592dc0fbd931bd2d086fa1edac5f769ef47f99d1 100644 (file)
@@ -383,7 +383,7 @@ EOS
   end
 
   def has_any_from_source_with_label? source, label
-    q = erret::Search::BooleanQuery.new
+    q = Ferret::Search::BooleanQuery.new
     q.add_query Ferret::Search::TermQuery.new("source_id", source.id.to_s), :must
     q.add_query Ferret::Search::TermQuery.new("label", label.to_s), :must
     index.search(q, :limit => 1).total_hits > 0