# File lib/sunspot/query/standard_query.rb, line 11 def add_fulltext(keywords) @fulltext.add_fulltext(keywords) end
# File lib/sunspot/query/standard_query.rb, line 15 def add_join(keywords, target, from, to) @fulltext.add_join(keywords, target, from, to) end
# File lib/sunspot/query/standard_query.rb, line 28 def conjunction parent_fulltext = @fulltext @fulltext = @fulltext.add_conjunction yield ensure @fulltext = parent_fulltext end
# File lib/sunspot/query/standard_query.rb, line 19 def disjunction parent_fulltext = @fulltext @fulltext = @fulltext.add_disjunction yield ensure @fulltext = parent_fulltext end
# File lib/sunspot/query/standard_query.rb, line 6 def initialize(types) super @components << @fulltext = Conjunction.new end