lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <>
Subject [jira] [Updated] (SOLR-10835) ExportWriter only works with TrieFooFields, not FooPointFields
Date Thu, 20 Jul 2017 22:05:01 GMT


Tomás Fernández Löbbe updated SOLR-10835:
    Attachment: SOLR-10835-fixtest.patch

I think this is a silly test bug, related to the fact that Tries deduplicate while Points
don't. Here is a patch that fixes this particular seed. Will run the tests some times and
commit if I see no more failures. 

> ExportWriter only works with TrieFooFields, not FooPointFields
> --------------------------------------------------------------
>                 Key: SOLR-10835
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Assignee: Tomás Fernández Löbbe
>            Priority: Blocker
>              Labels: numeric-tries-to-points
>             Fix For: 7.0, 6.7
>         Attachments: SOLR-10835-fixtest.patch, 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message