You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/04/20 05:35:00 UTC

[jira] [Commented] (SOLR-15358) CurrencyFieldType doesn't support docValues

    [ https://issues.apache.org/jira/browse/SOLR-15358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325480#comment-17325480 ] 

David Smiley commented on SOLR-15358:
-------------------------------------

Tip: putting uninvertible="false" on the sub-field type can be used to stop uninversion magic if you're trying to experiment to check if docValues is really there or not.  I imagine the schema browser would also show it but I didn't check.

> CurrencyFieldType doesn't support docValues
> -------------------------------------------
>
>                 Key: SOLR-15358
>                 URL: https://issues.apache.org/jira/browse/SOLR-15358
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Schema and Analysis
>            Reporter: David Smiley
>            Priority: Major
>
> CurrencyFieldType is an aggregate field type containing two sub-fields.  Ideally, the docValues setting would be honored but it isn't.  The bug is that CFT.createFields calls createField (singular) on the sub-fields but the singular form of createField never returns docValues.  The singular form is a rather trappy API.
> Tragically, CurrencyFieldType was created to replace the deprecated CurrencyField to allow docValues to be supported.  Through the auto-magic of uninverting, it's easy to not tell.



--
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