[
https://issues.apache.org/jira/browse/SOLR-10835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomás Fernández Löbbe updated SOLR-10835:
-----------------------------------------
Attachment: SOLR-10835.patch
This patch adds a fix and makes the schema use the "fooClass" so that Point
implementation is used. Also added a new random test to compare Trie results
with Points.
I noticed there are no tests with date field, I'll add one
> 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
>
>
> 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.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]