[ 
https://issues.apache.org/jira/browse/SOLR-10404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956815#comment-15956815
 ] 

ASF subversion and git services commented on SOLR-10404:
--------------------------------------------------------

Commit 55eb30cc9d77196227d8e9d86aae77a55545f869 in lucene-solr's branch 
refs/heads/branch_6_5 from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=55eb30c ]

SOLR-10404: fetch() streaming expression: escape values in generated query.

(cherry picked from commit 048705e)


> The "fetch" streaming expression should escape join values in generated query
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-10404
>                 URL: https://issues.apache.org/jira/browse/SOLR-10404
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.5
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 6.5.1
>
>         Attachments: SOLR_10404.patch
>
>
> The "fetch" streaming expression joins data from another collection.  Example:
> {{expr=fetch(collection,search(...), on="fieldA=fieldB"}}
>   Internally, it does this by building a Solr query that looks like  
> {{fieldB:(value1 value2 value3)}}.  *But those values are not escaped*; they 
> should be.  See FetchStream.java line 233.  The ramification is that, for 
> example, if a value contains a colon, then this isn't going to work.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to