[
https://issues.apache.org/jira/browse/SOLR-10835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Rowe reopened SOLR-10835:
-------------------------------
Reproducing master failure of {{TestExportWriter.testRandomNumerics()}}, which
reproduces for me at the initial commit on this issue: {{c51f6fa}}, from
[https://builds.apache.org/job/Lucene-Solr-Tests-master/2007/]:
{noformat}
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestExportWriter
-Dtests.method=testRandomNumerics -Dtests.seed=94DD60FCBCB5F367
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.locale=es-NI
-Dtests.timezone=Brazil/West -Dtests.asserts=true -Dtests.file.encoding=US-ASCII
[junit4] FAILURE 0.53s J2 | TestExportWriter.testRandomNumerics <<<
[junit4] > Throwable #1: org.junit.ComparisonFailure: expected:<...
"2017-08-0[5T06:52:51Z",
[junit4] > "2017-08-05T11:26:22Z"],
[junit4] > "number_is":[
[junit4] > -1597225161,
[junit4] > -1205623683,
[junit4] > 1069380954,
[junit4] > 1092822254,
[junit4] > 1973291815,
[junit4] > 2119143714],
[junit4] > "number_ls":[
[junit4] > -7944416858993780588,
[junit4] > -7241033011931804036,
[junit4] > -6758376612306864306,
[junit4] > 1917488459494814014,
[junit4] > 8622581717086030325,
[junit4] > 8943929504323721651],
[junit4] > "number_fs":[
[junit4] > -2635.5806,
[junit4] > -2019.8618,
[junit4] > 449.96362,
[junit4] > 2024.6565,
[junit4] > 2362.068,
[junit4] > 2963.0986],
[junit4] > "number_ds":[
[junit4] > -2551.2402360653455,
[junit4] > -2135.9910898557846,
[junit4] > -1553.665248788933,
[junit4] > -1142.9382786819058,
[junit4] > -355.26560800957594,
[junit4] > 2946.4755457498663],
[junit4] > "number_dts":[
[junit4] > "2017-06-23T17:27:19Z",
[junit4] > "2017-07-01T14:22:14]Z",
[junit4] > "2017-...> but was:<...
"2017-08-0[2T00:25:19Z",
[junit4] > "2017-08-05T06:52:51Z",
[junit4] > "2017-08-05T11:26:22Z"],
[junit4] > "number_is":[
[junit4] > -1597225161,
[junit4] > -1205623683,
[junit4] > 1069380954,
[junit4] > 1092822254,
[junit4] > 1973291815,
[junit4] > 2119143714],
[junit4] > "number_ls":[
[junit4] > -7944416858993780588,
[junit4] > -7241033011931804036,
[junit4] > -6758376612306864306,
[junit4] > 1917488459494814014,
[junit4] > 8622581717086030325,
[junit4] > 8943929504323721651],
[junit4] > "number_fs":[
[junit4] > -2635.5806,
[junit4] > -2019.8618,
[junit4] > 449.96362,
[junit4] > 2024.6565,
[junit4] > 2362.068,
[junit4] > 2963.0986],
[junit4] > "number_ds":[
[junit4] > -2551.2402360653455,
[junit4] > -2135.9910898557846,
[junit4] > -1553.665248788933,
[junit4] > -1142.9382786819058,
[junit4] > -355.26560800957594,
[junit4] > 2946.4755457498663],
[junit4] > "number_dts":[
[junit4] > "2017-06-23T17:27:19Z",
[junit4] > "2017-07-01T14:22:14Z",
[junit4] > "2017-08-02T00:25:19]Z",
[junit4] > "2017-...>
[junit4] > at
__randomizedtesting.SeedInfo.seed([94DD60FCBCB5F367:A7CC3AD57E0FA28A]:0)
[junit4] > at
org.apache.solr.response.TestExportWriter.assertJsonEquals(TestExportWriter.java:213)
[junit4] > at
org.apache.solr.response.TestExportWriter.doTestQuery(TestExportWriter.java:340)
[junit4] > at
org.apache.solr.response.TestExportWriter.testRandomNumerics(TestExportWriter.java:328)
{noformat}
> 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
> Fix For: 7.0, 6.7
>
> 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]