[
https://issues.apache.org/jira/browse/SOLR-10919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054853#comment-16054853
]
Hoss Man commented on SOLR-10919:
---------------------------------
Examples failures found in SOLR-10807 when forcing points for al numeric
types...
{noformat}
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=DisMaxRequestHandlerTest -Dtests.method=testSomeStuff
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=sl
-Dtests.timezone=Atlantic/South_Georgia -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s J2 | DisMaxRequestHandlerTest.testSomeStuff <<<
[junit4] > Throwable #1: java.lang.RuntimeException: Exception during
query
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:AEC94260775C9E19]:0)
[junit4] > at
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:940)
[junit4] > at
org.apache.solr.DisMaxRequestHandlerTest.doTestSomeStuff(DisMaxRequestHandlerTest.java:76)
[junit4] > at
org.apache.solr.DisMaxRequestHandlerTest.testSomeStuff(DisMaxRequestHandlerTest.java:72)
[junit4] > at java.lang.Thread.run(Thread.java:748)
[junit4] > Caused by: java.lang.IllegalStateException: unexpected
docvalues type NONE for field 'iind' (expected one of [SORTED, SORTED_SET]).
Re-index with correct docvalues type.
[junit4] > at
org.apache.lucene.index.DocValues.checkField(DocValues.java:340)
[junit4] > at
org.apache.lucene.index.DocValues.getSortedSet(DocValues.java:433)
[junit4] > at
org.apache.solr.search.function.ReverseOrdFieldSource.getValues(ReverseOrdFieldSource.java:98)
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=DisMaxRequestHandlerTest -Dtests.method=testExtraBlankBQ
-Dtests.seed=40DB535C83C56F23 -Dtests.slow=true -Dtests.locale=sl
-Dtests.timezone=Atlantic/South_Georgia -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 0.01s J2 | DisMaxRequestHandlerTest.testExtraBlankBQ <<<
[junit4] > Throwable #1: java.lang.IllegalStateException: unexpected
docvalues type NONE for field 'iind' (expected one of [SORTED, SORTED_SET]).
Re-index with correct docvalues type.
[junit4] > at
__randomizedtesting.SeedInfo.seed([40DB535C83C56F23:F5DCCAEC43212E62]:0)
[junit4] > at
org.apache.lucene.index.DocValues.checkField(DocValues.java:340)
[junit4] > at
org.apache.lucene.index.DocValues.getSortedSet(DocValues.java:433)
[junit4] > at
org.apache.solr.search.function.ReverseOrdFieldSource.getValues(ReverseOrdFieldSource.java:98)
{noformat}
> ord & rord functions give confusing errors with PointFields
> -----------------------------------------------------------
>
> Key: SOLR-10919
> URL: https://issues.apache.org/jira/browse/SOLR-10919
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Hoss Man
>
> as discovered in SOLR-10807...
> If you try to use either the {{ord()}} or {{rord()}} functions on a Numeric
> PointsField, the error is confusing.
> We should make them give clean errors if someone attempts this.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]