[
https://issues.apache.org/jira/browse/SOLR-10835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16047110#comment-16047110
]
Tomás Fernández Löbbe commented on SOLR-10835:
----------------------------------------------
I did two minor changes and committed:
* Using a LongFunction in ExportWriter to convert DV long to the correct type
(instead of always calling the switch).
* Modified the random test to always run the same queries (it was running many
times the same queries before, which made no sense)
> ExportWriter only works with TrieFooFields, not FooPointFields
> --------------------------------------------------------------
>
> Key: SOLR-10835
> URL: https://issues.apache.org/jira/browse/SOLR-10835
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
> Assignee: Tomás Fernández Löbbe
> Attachments: SOLR-10835.patch, SOLR-10835.patch, SOLR-10835.patch
>
>
> ExportWriter explicitly fails hard if you attempt to use it with any of the
> new Numeric Points based fields.
> The current failures come from explicit {{if (fieldType instanceof
> TrieFooField)}} checks in {{ExportWriter.getFieldWriters}} -- those could
> probably be replaced with {{instanceof FooValueFieldType}} (the numeric
> marker interfaces) or {{getNumericType()}} but i suspect in the multivalued
> case other problems will arise due to how ExportWriter dips into the guts of
> DocValues and assumes SortedSetDocValues
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]