lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gus Heck (JIRA)" <>
Subject [jira] [Updated] (SOLR-10894) Streaming expressions handling of escaped special characters bug
Date Mon, 22 Oct 2018 14:27:00 GMT


Gus Heck updated SOLR-10894:
    Attachment: SOLR-10894.patch

> Streaming expressions handling of escaped special characters bug
> ----------------------------------------------------------------
>                 Key: SOLR-10894
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: streaming expressions
>            Reporter: Houston Putman
>            Priority: Major
>         Attachments: SOLR-10894.patch
> Streaming expressions expect all special characters in named parameter values to be singly
escaped. Since queries can contain strings surrounded by double quotes, double-escaping is
> Given the following query: 
> {{summary:"\"This is a summary\"\+"}}
> A streaming expression would require surrounding the query with double quotes, therefore
every special character in the query should be escaped: 
> {{select(collection,q="\"\\\"This is a summary\\\"\\\+\"",....)}}
> Streaming expressions should unescape the strings contained within double quotes, however
currently they are only unescaping {{\" -> "}}. Therefore it is impossible to query for
text fields containing double quotes. Also other special characters are not unescaped; this
inconsistency causes confusion.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message