[ 
https://issues.apache.org/jira/browse/LUCENE-8917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man reopened LUCENE-8917:
------------------------------

this seems to have caused some reliable solr test failures?

Example...
https://builds.apache.org/view/L/view/Lucene/job/Lucene-Solr-Tests-master/3683/
{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestCodecSupport 
-Dtests.method=testDynamicFieldsDocValuesFormats -Dtests.seed=FA28EF8B1D76D0FE 
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.locale=ru 
-Dtests.timezone=Europe/Tiraspol -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
   [junit4] ERROR   0.04s J1 | 
TestCodecSupport.testDynamicFieldsDocValuesFormats <<<
   [junit4]    > Throwable #1: java.lang.IllegalArgumentException: An SPI class 
of type org.apache.lucene.codecs.DocValuesFormat with name 'Direct' does not 
exist.  You need to add the corresponding JAR file supporting this SPI to your 
classpath.  The current classpath supports the following names: [Asserting, 
Lucene70, Lucene80]
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([FA28EF8B1D76D0FE:1AFBB14D0BE866AA]:0)
   [junit4]    >        at 
org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:116)
   [junit4]    >        at 
org.apache.lucene.codecs.DocValuesFormat.forName(DocValuesFormat.java:108)
   [junit4]    >        at 
org.apache.solr.core.SchemaCodecFactory$1.getDocValuesFormatForField(SchemaCodecFactory.java:112)
   [junit4]    >        at 
org.apache.lucene.codecs.lucene80.Lucene80Codec$2.getDocValuesFormatForField(Lucene80Codec.java:74)
   [junit4]    >        at 
org.apache.solr.core.TestCodecSupport.testDynamicFieldsDocValuesFormats(TestCodecSupport.java:87)
...
{noformat}

..probably just some tests that need removed/updated to not try to use Direct 
as an option anymore?

> Remove the "Direct" doc-value format
> ------------------------------------
>
>                 Key: LUCENE-8917
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8917
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: master (9.0)
>
>
> This is the last user of the Legacy*DocValues APIs. Another option would be 
> to move this format to doc-value iterators, but I don't think it's worth the 
> effort: let's just remove it in Lucene 9?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to