David Smiley created SOLR-10404:
-----------------------------------
Summary: 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
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]