[
https://issues.apache.org/jira/browse/LUCENE-8461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16590749#comment-16590749
]
Steve Rowe commented on LUCENE-8461:
------------------------------------
Failing tests from
[https://builds.apache.org/job/Lucene-Solr-SmokeRelease-master/1105/]:
{noformat}
Checking out Revision 025350ea12f648b8f5864a0ba6ef85ddff577a2a
(refs/remotes/origin/master)
[...]
[smoker] [junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestCodecSupport -Dtests.method=testDynamicFieldsDocValuesFormats
-Dtests.seed=6E6A7BAA240147A -Dtests.multiplier=2 -Dtests.locale=mt
-Dtests.timezone=Etc/UTC -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[smoker] [junit4] ERROR 0.03s J0 |
TestCodecSupport.testDynamicFieldsDocValuesFormats <<<
[smoker] [junit4] > Throwable #1: java.lang.IllegalArgumentException:
An SPI class of type org.apache.lucene.codecs.DocValuesFormat with name
'Lucene80' 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, Direct, Lucene70]
[smoker] [junit4] > at
__randomizedtesting.SeedInfo.seed([6E6A7BAA240147A:E635F97CB4DEA22E]:0)
[smoker] [junit4] > at
org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:116)
[smoker] [junit4] > at
org.apache.lucene.codecs.DocValuesFormat.forName(DocValuesFormat.java:108)
[smoker] [junit4] > at
org.apache.solr.core.SchemaCodecFactory$1.getDocValuesFormatForField(SchemaCodecFactory.java:112)
[smoker] [junit4] > at
org.apache.lucene.codecs.lucene80.Lucene80Codec$2.getDocValuesFormatForField(Lucene80Codec.java:73)
[smoker] [junit4] > at
org.apache.solr.core.TestCodecSupport.testDynamicFieldsDocValuesFormats(TestCodecSupport.java:85)
[smoker] [junit4] > at java.lang.Thread.run(Thread.java:748)
[...]
[smoker] [junit4] ERROR 0.63s J2 |
TestManagedSchema.testAddWithSchemaCodecFactory <<<
[smoker] [junit4] > Throwable #1:
org.apache.solr.common.SolrException: An SPI class of type
org.apache.lucene.codecs.DocValuesFormat with name 'Lucene80' 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,
Direct, Lucene70]
[smoker] [junit4] > at
__randomizedtesting.SeedInfo.seed([6E6A7BAA240147A:4F93581D2A6A1328]:0)
[smoker] [junit4] > at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:219)
[smoker] [junit4] > at
org.apache.solr.core.SolrCore.execute(SolrCore.java:2541)
[smoker] [junit4] > at
org.apache.solr.servlet.DirectSolrConnection.request(DirectSolrConnection.java:125)
[smoker] [junit4] > at
org.apache.solr.util.TestHarness.update(TestHarness.java:284)
[smoker] [junit4] > at
org.apache.solr.util.BaseTestHarness.checkUpdateStatus(BaseTestHarness.java:274)
[smoker] [junit4] > at
org.apache.solr.util.BaseTestHarness.validateUpdate(BaseTestHarness.java:244)
[smoker] [junit4] > at
org.apache.solr.SolrTestCaseJ4.checkUpdateU(SolrTestCaseJ4.java:864)
[smoker] [junit4] > at
org.apache.solr.SolrTestCaseJ4.assertU(SolrTestCaseJ4.java:843)
[smoker] [junit4] > at
org.apache.solr.SolrTestCaseJ4.assertU(SolrTestCaseJ4.java:837)
[smoker] [junit4] > at
org.apache.solr.schema.TestManagedSchema.testAddWithSchemaCodecFactory(TestManagedSchema.java:382)
[smoker] [junit4] > at java.lang.Thread.run(Thread.java:748)
[smoker] [junit4] > Caused by: java.lang.IllegalArgumentException: An
SPI class of type org.apache.lucene.codecs.DocValuesFormat with name 'Lucene80'
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, Direct, Lucene70]
[smoker] [junit4] > at
org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:116)
[smoker] [junit4] > at
org.apache.lucene.codecs.DocValuesFormat.forName(DocValuesFormat.java:108)
[smoker] [junit4] > at
org.apache.solr.core.SchemaCodecFactory$1.getDocValuesFormatForField(SchemaCodecFactory.java:112)
[smoker] [junit4] > at
org.apache.lucene.codecs.lucene80.Lucene80Codec$2.getDocValuesFormatForField(Lucene80Codec.java:73)
[smoker] [junit4] > at
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.getInstance(PerFieldDocValuesFormat.java:168)
[smoker] [junit4] > at
org.apache.lucene.codecs.perfield.PerFieldDocValuesFormat$FieldsWriter.addSortedField(PerFieldDocValuesFormat.java:119)
[smoker] [junit4] > at
org.apache.lucene.index.SortedDocValuesWriter.flush(SortedDocValuesWriter.java:163)
[smoker] [junit4] > at
org.apache.lucene.index.DefaultIndexingChain.writeDocValues(DefaultIndexingChain.java:262)
[smoker] [junit4] > at
org.apache.lucene.index.DefaultIndexingChain.flush(DefaultIndexingChain.java:137)
[smoker] [junit4] > at
org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:470)
[smoker] [junit4] > at
org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:554)
[smoker] [junit4] > at
org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:719)
[smoker] [junit4] > at
org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:3201)
[smoker] [junit4] > at
org.apache.lucene.index.IndexWriter.commitInternal(IndexWriter.java:3446)
[smoker] [junit4] > at
org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3411)
[smoker] [junit4] > at
org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:676)
[smoker] [junit4] > at
org.apache.solr.update.processor.RunUpdateProcessor.processCommit(RunUpdateProcessorFactory.java:93)
[smoker] [junit4] > at
org.apache.solr.update.processor.UpdateRequestProcessor.processCommit(UpdateRequestProcessor.java:68)
[smoker] [junit4] > at
org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalCommit(DistributedUpdateProcessor.java:1959)
[smoker] [junit4] > at
org.apache.solr.update.processor.DistributedUpdateProcessor.processCommit(DistributedUpdateProcessor.java:1935)
[smoker] [junit4] > at
org.apache.solr.update.processor.LogUpdateProcessorFactory$LogUpdateProcessor.processCommit(LogUpdateProcessorFactory.java:160)
[smoker] [junit4] > at
org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:281)
[smoker] [junit4] > at
org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:188)
[smoker] [junit4] > at
org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:97)
[smoker] [junit4] > at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:68)
[smoker] [junit4] > at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
[smoker] [junit4] > ... 48 more
{noformat}
> Add a Lucene80Codec
> -------------------
>
> Key: LUCENE-8461
> URL: https://issues.apache.org/jira/browse/LUCENE-8461
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Priority: Minor
> Fix For: master (8.0)
>
> Attachments: LUCENE-8461.patch
>
>
> Even though things would work if we kept using the current Lucene70Codec, I'd
> like to create a new Lucene80Codec in order to make reasoning about what code
> can be removed easier when we remove support for Lucene 7.x and to also
> highlight the fact that as af 8.0 postings record impacts in the skip lists.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]