private boolean equalsTo(SpanBoostQuery other) { return query.equals(other.query) && Float.floatToIntBits(boost) == Float.floatToIntBits(other.boost); }
/** Returns true iff <code>other</code> is equal to this. */ @Override public boolean equals(Object other) { return sameClassAs(other) && match.equals(((SpanPositionCheckQuery) other).match); }
private boolean equalsTo(FieldMaskingSpanQuery other) { return getField().equals(other.getField()) && getMaskedQuery().equals(other.getMaskedQuery()); }
/** Returns true iff <code>o</code> is equal to this. */ @Override public boolean equals(Object o) { if (!super.equals(o)) return false; SpanNotQuery other = (SpanNotQuery)o; return this.include.equals(other.include) && this.exclude.equals(other.exclude) && this.pre == other.pre && this.post == other.post; }
/** Returns true iff <code>o</code> is equal to this. */ @Override public boolean equals(Object o) { if (!super.equals(o)) return false; SpanNotQuery other = (SpanNotQuery)o; return this.include.equals(other.include) && this.exclude.equals(other.exclude) && this.pre == other.pre && this.post == other.post; }
/** Returns true iff <code>o</code> is equal to this. */ @Override public boolean equals(Object o) { if (! super.equals(o)) { return false; } final SpanNearQuery spanNearQuery = (SpanNearQuery) o; return (inOrder == spanNearQuery.inOrder) && (slop == spanNearQuery.slop) && clauses.equals(spanNearQuery.clauses); }
@Override public boolean equals(Object o) { if (! super.equals(o)) { return false; } final SpanOrQuery that = (SpanOrQuery) o; return clauses.equals(that.clauses); }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof PayloadScoreQuery)) return false; if (!super.equals(o)) return false; PayloadScoreQuery that = (PayloadScoreQuery) o; if (wrappedQuery != null ? !wrappedQuery.equals(that.wrappedQuery) : that.wrappedQuery != null) return false; return !(function != null ? !function.equals(that.function) : that.function != null); }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof PayloadScoreQuery)) return false; if (!super.equals(o)) return false; PayloadScoreQuery that = (PayloadScoreQuery) o; if (wrappedQuery != null ? !wrappedQuery.equals(that.wrappedQuery) : that.wrappedQuery != null) return false; return !(function != null ? !function.equals(that.function) : that.function != null); }
@Override public boolean equals(Object other) { return sameClassAs(other) && payloadToMatch.equals(((SpanPayloadCheckQuery) other).payloadToMatch) && match.equals(((SpanPayloadCheckQuery) other).match); }
private boolean equalsTo(PayloadScoreQuery other) { return wrappedQuery.equals(other.wrappedQuery) && function.equals(other.function) && (includeSpanScore == other.includeSpanScore) && Objects.equals(decoder, other.decoder); }
/** Returns true iff <code>other</code> is equal to this. */ @Override public boolean equals(Object other) { return sameClassAs(other) && match.equals(((SpanPositionCheckQuery) other).match); }
@Override public boolean equals(Object obj) { if (! super.equals(obj)) { return false; } SpanTermQuery other = (SpanTermQuery) obj; return term.equals(other.term); }