Closed emrahtokalak closed 1 week ago
Fix JSON parsing errors caused by spaces and special characters in LuceneQuerySource
LuceneQuerySource
/
parameterizedQuery
As we can see from the following Lucene query, if there are liquid expressions within the template, it causes spaces in the JSON, leading to errors.
Could you please add a unit test?
@MikeAlhayek do you have anything else to add here?
LGTM
Fix JSON parsing errors caused by spaces and special characters in LuceneQuerySource
LuceneQuerySource
where spaces and special characters like/
were causing errors.parameterizedQuery
parsing logic to handle these cases correctly.As we can see from the following Lucene query, if there are liquid expressions within the template, it causes spaces in the JSON, leading to errors.