Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KnowageLabs
Knowage-Server
Commits
8b286c1d
Commit
8b286c1d
authored
May 27, 2022
by
Matteo Massarotto
Browse files
[KNOWAGE-6935] - Changed Solr parameters split handling
parent
994d89f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
knowageutils/src/main/java/it/eng/spagobi/tools/dataset/bo/SolrDataSet.java
View file @
8b286c1d
...
...
@@ -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
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment