Skip to content

Commit a404d46

Browse files
committed
Remove unnecessary escaping of double quotes in SolrUtils for edismax
1 parent 26b320f commit a404d46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/com/databasepreservation/common/server/index/utils

src/main/java/com/databasepreservation/common/server/index/utils/SolrUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ private static void appendEDismaxSearchTerm(StringBuilder ret, String value, boo
994994
if (appendDoubleQuotes) {
995995
ret.append("\"");
996996
}
997-
ret.append(value.replaceAll("(\")", "\\\\$1"));
997+
ret.append(value);
998998
if (appendDoubleQuotes) {
999999
ret.append("\"");
10001000
}

0 commit comments

Comments
 (0)