mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user