Method: Couchbase::SearchQuery::BooleanQuery#initialize

Defined in:
lib/couchbase/search_options.rb

#initialize {|self| ... } ⇒ BooleanQuery

Returns a new instance of BooleanQuery.

Yield Parameters:



832
833
834
835
836
837
838
# File 'lib/couchbase/search_options.rb', line 832

def initialize
  super
  @must = ConjunctionQuery.new
  @must_not = DisjunctionQuery.new
  @should = DisjunctionQuery.new
  yield self if block_given?
end