Skip to content

Commit fa136a6

Browse files
authored
Merge pull request #120 from dfeyer/bugfix-escape-slash
TASK: Proper escaping for slash in full text query Without escaping ElasticSearch return an error for the current query.
2 parents cf0a7eb + 0b3848d commit fa136a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Eel/ElasticSearchQueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ public function fulltext($searchWord)
726726
{
727727
$this->appendAtPath('query.filtered.query.bool.must', [
728728
'query_string' => [
729-
'query' => $searchWord
729+
'query' => json_encode((string)$searchWord)
730730
]
731731
]);
732732

0 commit comments

Comments
 (0)