module Druid::BooleanOperators
Public Instance Methods
!()
click to toggle source
# File lib/druid/filter.rb, line 150 def !() BooleanFilter.new({ type: 'not', field: self, }) end
&(other)
click to toggle source
# File lib/druid/filter.rb, line 136 def &(other) BooleanFilter.new({ type: 'and', fields: [self, other], }) end
|(other)
click to toggle source
# File lib/druid/filter.rb, line 143 def |(other) BooleanFilter.new({ type: 'or', fields: [self, other], }) end