Hi i like the new version of ferret, has solved a few of my problems but
i’m unsure of how to implement the following code in the new version of
ferret?
if section
if !section.empty?
qp = Ferret::QueryParser.new(“section”)
query = qp.parse(""#{section}"")
bq.add_query(query, Ferret::Search::BooleanClause::Occur::MUST)
filter_on =true
end
end