You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mayya Sharipova (Jira)" <ji...@apache.org> on 2021/06/23 13:50:08 UTC

[jira] [Updated] (SOLR-15357) sub-fields of copyField targets should themselves be recorded as targets

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

Mayya Sharipova updated SOLR-15357:
-----------------------------------
    Security:     (was: Public)

> sub-fields of copyField targets should themselves be recorded as targets
> ------------------------------------------------------------------------
>
>                 Key: SOLR-15357
>                 URL: https://issues.apache.org/jira/browse/SOLR-15357
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>            Reporter: David Smiley
>            Priority: Major
>
> CurrencyFieldType, BBoxField and maybe other field types have "sub-fields"; they appear to the user as one field but internally are composed of more than one.  The schema keeps track of which fields are copyField targets in copyFieldTargetCounts but these aggregate fields don't have their sub-fields recorded as well.  As a consequence of this, the RealtimeGetComponent doesn't filter these out when materializing a document from the index.  That could lead to other problems.
> I discovered this while debugging some issue in \{{org.apache.solr.client.solrj.SolrExampleTests#testUpdateField}} which performs partial updates to the "price" field which is a copyField source to "*_c" which is of type CurrencyFieldType.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org