Class MinimumMatch
- java.lang.Object
- 
- com.lucidworks.search.dsl.DslBase
- 
- com.lucidworks.search.dsl.request.DslCloneable
- 
- com.lucidworks.search.dsl.request.query.MinimumMatch
 
 
 
- 
 public class MinimumMatch extends DslCloneable Represents the criteria for the minimum number of optional query clauses that must match for a result to be returned.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMinimumMatch.Operand
 - 
Constructor SummaryConstructors Constructor Description MinimumMatch(java.lang.Integer clauses, MinimumMatch.Operand operand, java.lang.Integer condition)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MinimumMatchclone()java.lang.IntegergetClauses()java.lang.IntegergetCondition()MinimumMatch.OperandgetOperand()- 
Methods inherited from class com.lucidworks.search.dsl.request.DslCloneableclone, deepClone
 
- 
 
- 
- 
- 
Constructor Detail- 
MinimumMatchpublic MinimumMatch(java.lang.Integer clauses, MinimumMatch.Operand operand, java.lang.Integer condition)
 
- 
 - 
Method Detail- 
getClausespublic java.lang.Integer getClauses() - Returns:
- The minimum number of clauses that must match if positive, or the maximum unmatched clauses if negative.
 
 - 
getOperandpublic MinimumMatch.Operand getOperand() - Returns:
- An operator that indicates whether to consider clauses as a percentage or if there is a second term for the matching criteria for queries with more or fewer clauses than the specified minimum.
 
 - 
getConditionpublic java.lang.Integer getCondition() - Returns:
- The right-hand side of the greater or lesser condition, if there is one.
 
 - 
clonepublic MinimumMatch clone() - Specified by:
- clonein class- DslCloneable
 
 
- 
 
-