Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.