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