Hi .. I tried to build some query objects to get some documents from my index.. without success.. Is something wrong here?
q = Ferret::Search::BooleanQuery.new q1 = Ferret::Search::TermQuery.new(:type, "movie") q2 = Ferret::Search::TermQuery.new(:name, "Indiana") q.add_query(q1, :should) q.add_query(q2, :should) Indexer.index.search_each(q) do |doc, score| puts doc end 0 Indexer.index.search_each(q.to_s) do |doc, score| puts doc end 70 65 68 5368 197 => 5 Ben _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

