SEARCH-417 Cascade update exclulsions fail to parse at query time

MNT-17552 SOLR4 FTS Query parser failing on the '.0' in qname when skipDescendantDocsForSpecificTypes configuration used
- SOLR 6 fix
This commit is contained in:
ahind
2017-03-07 21:41:23 +00:00
parent 908f10a9e4
commit a3105a8e17
@@ -59,8 +59,7 @@ public class Cloud
{
for (Object value : values)
{
String escapedValue = value.toString().replace(":", "\\:").replace("{", "\\{").replace("}", "\\}");
query.append(fieldName).append(":").append(escapedValue).append(operator);
query.append(fieldName).append(":").append("\"").append(value.toString()).append("\"").append(operator);
}
}