[
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: [email protected]
For additional commands, e-mail: [email protected]