Method: Queries::BoolQueryBuilder#minimum_should_match
- Defined in:
- lib/queries/bool_query_builder.rb
#minimum_should_match(value) ⇒ BoolQueryBuilder
sets the minimum should match value for the given query object
131 132 133 134 135 136 |
# File 'lib/queries/bool_query_builder.rb', line 131 def minimum_should_match(value) raise 'Minimum Should match cannot be nil' if value.nil? @minimum_should_match = value self end |