[
https://issues.apache.org/jira/browse/SOLR-17186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17821399#comment-17821399
]
Rahul Goswami commented on SOLR-17186:
--------------------------------------
Root cause seems to be replacement of ` with " in StreamExpressionParser
introduced in Solr 8.5 (https://issues.apache.org/jira/browse/SOLR-14139)
[https://github.com/apache/solr/blob/main/solr/solrj-streaming/src/java/org/apache/solr/client/solrj/io/stream/expr/StreamExpressionParser.java#L138]
Will submit a PR.
> Streaming query breaks if token contains backtick
> -------------------------------------------------
>
> Key: SOLR-17186
> URL: https://issues.apache.org/jira/browse/SOLR-17186
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: streaming expressions
> Affects Versions: 8.5
> Reporter: Rahul Goswami
> Priority: Major
>
> Streaming searches break when the data contains the backtick character( ` ).
> Eg:
> [http://host-name:8983/solr/MyCollection/stream?expr=search(MyCollection,q="My_Field:Foto`s",fl="field1",qt="/export")|http://pidx.idcprodcert.loc:20000/solr/sharepointindex_036DE237-A69B-4E7E-929E-62C2AB7A7323_multinode/stream?expr=search(sharepointindex_036DE237-A69B-4E7E-929E-62C2AB7A7323_multinode,q=%22slevel_Url_8:Fotos%22,fl=%22contentid%22)]
>
> Same search works fine if called directly with /export or /select
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]