Query Parser caching does not take parsed query rewrite method into account, closes #1260.

This commit is contained in:
Shay Banon 2011-08-19 01:57:12 +03:00
parent 5fa072263d
commit fcaa0e3261
1 changed files with 2 additions and 0 deletions

View File

@ -184,6 +184,8 @@ public class QueryParserSettings {
if (defaultField != null ? !defaultField.equals(that.defaultField) : that.defaultField != null) return false;
if (defaultOperator != that.defaultOperator) 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;
}