dsmiley commented on code in PR #5442:
URL: https://github.com/apache/solr/pull/5442#discussion_r4804628996


##########
solr/solr-ref-guide/modules/indexing-guide/pages/currencies-exchange-rates.adoc:
##########
@@ -80,6 +80,15 @@ You must specify parameters `amountLongSuffix` and 
`codeStrSuffix`, correspondin
 In the above example, the raw amount field will use the `"*_l_ns"` dynamic 
field, which must exist in the schema and use a long field type, i.e., one that 
extends `LongValueFieldType`.
 The currency code field will use the `"*_s_ns"` dynamic field, which must 
exist in the schema and use a string field type, i.e., one that is or extends 
`StrField`.
 
+Range queries, sorting and the `currency()` function read the sub-fields 
through docValues, or by uninverting them when they have none.
+Since schema version 1.7, field types have docValues by default; set 
`useDocValuesAsStored="false"` on the sub-fields so that `fl=*` does not return 
them:

Review Comment:
   Can the CurrencyFieldType arrange for useDocValuesAsStored=false itself?   
Seems like it should do so if it can



##########
solr/core/src/test/org/apache/solr/schema/CurrencyFieldTypeDocValuesTest.java:
##########


Review Comment:
   do we really need another test suite for this issue when we have 
CurrencyFieldTypeTest?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to