[
https://issues.apache.org/jira/browse/SOLR-10404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956804#comment-15956804
]
ASF subversion and git services commented on SOLR-10404:
--------------------------------------------------------
Commit 048705e0e47ac04b6914e73c7ec3cc8daa12f2e0 in lucene-solr's branch
refs/heads/branch_6x from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=048705e ]
SOLR-10404: fetch() streaming expression: escape values in generated query.
(cherry picked from commit cb9f151)
> 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]