You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mikhail Khludnev (Jira)" <ji...@apache.org> on 2023/02/25 12:06:00 UTC

[jira] [Updated] (SOLR-16681) Replacement field via fl doesn't work since 9.1

     [ https://issues.apache.org/jira/browse/SOLR-16681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mikhail Khludnev updated SOLR-16681:
------------------------------------
    Description: 
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 to revision preceding and test passed.  For me it seems like:

 - Solr behave like described before, but not after .  

 - Should we reproduce this behavior or we can suggest a workaround? 

 

  was:
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. see the link. Then I applied it to revision preceding and test passed.  For me it seems like:

 - Solr behave like described before, but not after .  

 - Should we reproduce this behavior or we can suggest a workaround? 

 


> 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
>          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 to revision preceding and test passed.  For me it seems like:
>  - Solr behave like described before, but not after .  
>  - 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org