From 7914429bb85086d411760d27e3755dbc90d5f329 Mon Sep 17 00:00:00 2001 From: William Morgan Date: Wed, 26 Dec 2007 13:21:52 -0800 Subject: [PATCH] whoops, fix spurious delete in previous commit --- lib/sup/index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sup/index.rb b/lib/sup/index.rb index 84771ca..592dc0f 100644 --- a/lib/sup/index.rb +++ b/lib/sup/index.rb @@ -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 -- 2.45.2