[ https://issues.apache.org/jira/browse/SOLR-16681 ]
Mikhail Khludnev deleted comment on SOLR-16681:
-----------------------------------------
was (Author: mkhludnev):
Wait a sec.. it might actually work
{code}
<doc><arr name="id"><str>10</str></arr><arr
name="old_id"><str>10</str></arr></doc></result>
{code}
???
> Replacement field via fl doesn't work since 9.1
> -----------------------------------------------
>
> Key: SOLR-16681
> URL: https://issues.apache.org/jira/browse/SOLR-16681
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Mikhail Khludnev
> Priority: Minor
> Attachments: image-2023-02-26-09-48-31-974.png,
> image-2023-02-26-09-48-59-323.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> User reported a use case which were working before 9.1 but not anymore.
> The point is to logically replace a field (hereby it's {{id}} but it might
> behave same for any other)
> {{fl=old_id:id,id:new_id}}
> I'd say it's a kind of {{{}$mv new_id id{}}}. I've made a simple
> [reproducer|https://github.com/apache/solr/pull/1384]. see the link. [Then I
> applied
> it|https://github.com/mkhludnev/solr/tree/SOLR-16681-proves-work-before] to
> revision preceding
> [SOLR-9376|https://github.com/mkhludnev/solr/commit/6ff81312607dd5d33f87dc52aed9d52938dc6883#diff-e72c1360a9b0097bcc01e269a94045ce5af1fdc93ae3021ca7e8d1b26d46bdcb]
> and test passed. For me it seems like:
> - Solr behave like described before, but does not after SOLR-9376.
> - Should we reproduce this behavior or we can suggest a workaround?
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]