Skip to content

Commit

Permalink
Merge pull request #451 from SSHOC/bugfix/SSHOC-171_actor_search_rela…
Browse files Browse the repository at this point in the history
…ted_improvements

[SSHOC-171] Improvement in actor search.
  • Loading branch information
KlausIllmayer authored Jul 10, 2024
2 parents 7cc6b5a + 36b231f commit 5f50748
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public List<QueryPart> parsePhrase(String phrase) {
expression.append(token);
} else {
if (isAcceptableExpression(expression.toString())) {
result.add(new QueryPart(ClientUtils.escapeQueryChars(expression.toString()), false));
result.add(new QueryPart(expression.toString(), false));
}
expression = new StringBuilder();
}
Expand All @@ -46,7 +46,9 @@ public List<QueryPart> parsePhrase(String phrase) {
}
}
} else {
expression.append(ClientUtils.escapeQueryChars(token));
if (isAcceptableExpression(token)) {
expression.append(ClientUtils.escapeQueryChars(token));
}
}
}
if (isAcceptableExpression(expression.toString())) {
Expand Down

0 comments on commit 5f50748

Please sign in to comment.