Query Parser caching does not take parsed query rewrite method into account, closes #1260.
This commit is contained in:
parent
5fa072263d
commit
fcaa0e3261
|
@ -184,6 +184,8 @@ public class QueryParserSettings {
|
||||||
if (defaultField != null ? !defaultField.equals(that.defaultField) : that.defaultField != null) return false;
|
if (defaultField != null ? !defaultField.equals(that.defaultField) : that.defaultField != null) return false;
|
||||||
if (defaultOperator != that.defaultOperator) return false;
|
if (defaultOperator != that.defaultOperator) return false;
|
||||||
if (queryString != null ? !queryString.equals(that.queryString) : that.queryString != null) return false;
|
if (queryString != null ? !queryString.equals(that.queryString) : that.queryString != null) return false;
|
||||||
|
if (rewriteMethod != null ? !rewriteMethod.equals(that.rewriteMethod) : that.rewriteMethod != null)
|
||||||
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue