Commit 8b286c1d authored by Matteo Massarotto's avatar Matteo Massarotto
Browse files

[KNOWAGE-6935] - Changed Solr parameters split handling

parent 994d89f1
......@@ -540,9 +540,9 @@ public class SolrDataSet extends RESTDataSet {
String value = values[j].trim();
if (!value.isEmpty()) {
if (value.startsWith(delim) && value.endsWith(delim)) {
if (value.contains("','")) {
if (value.contains(",")) {
value = value.substring(1, value.length() - 1);
String[] valuesArray = value.split("','");
String[] valuesArray = value.split(",");
String newValuesFromArray = "";
for (int i = 0; i < valuesArray.length; i++) {
String temp = valuesArray[i];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment