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

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

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

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


> 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