You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lucene does not allow writing using backward-code.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.443 s <<< FAILURE! -- in nl.inl.blacklab.index.TestStandoffSpans
nl.inl.blacklab.index.TestStandoffSpans.testStandoffSpans -- Time elapsed: 0.150 s <<< ERROR!
java.lang.UnsupportedOperationException: Old codecs may only be used for reading
at org.apache.lucene.backward_codecs.lucene87.Lucene87StoredFieldsFormat.fieldsWriter(Lucene87StoredFieldsFormat.java:142)
at nl.inl.blacklab.codec.blacklab40.BlackLab40StoredFieldsFormat.fieldsWriter(BlackLab40StoredFieldsFormat.java:75)
at nl.inl.blacklab.codec.blacklab40.BlackLab40StoredFieldsFormat.fieldsWriter(BlackLab40StoredFieldsFormat.java:20)
at org.apache.lucene.index.StoredFieldsConsumer.initStoredFieldsWriter(StoredFieldsConsumer.java:50)
at org.apache.lucene.index.StoredFieldsConsumer.startDocument(StoredFieldsConsumer.java:57)
at org.apache.lucene.index.IndexingChain.startStoredFields(IndexingChain.java:535)
at org.apache.lucene.index.IndexingChain.processDocument(IndexingChain.java:566)
at org.apache.lucene.index.DocumentsWriterPerThread.updateDocuments(DocumentsWriterPerThread.java:263)
at org.apache.lucene.index.DocumentsWriter.updateDocuments(DocumentsWriter.java:425)
at org.apache.lucene.index.IndexWriter.updateDocuments(IndexWriter.java:1561)
at org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1846)
at nl.inl.blacklab.index.BLIndexWriterProxyLucene.updateDocument(BLIndexWriterProxyLucene.java:62)
at nl.inl.blacklab.search.indexmetadata.IndexMetadataIntegrated$MetadataDocument.updateMetadataDoc(IndexMetadataIntegrated.java:175)
at nl.inl.blacklab.search.indexmetadata.IndexMetadataIntegrated$MetadataDocument.saveToIndex(IndexMetadataIntegrated.java:155)
at nl.inl.blacklab.search.indexmetadata.IndexMetadataIntegrated.save(IndexMetadataIntegrated.java:803)
at nl.inl.blacklab.search.indexmetadata.IndexMetadataIntegrated.<init>(IndexMetadataIntegrated.java:337)
at nl.inl.blacklab.search.indexmetadata.IndexMetadataIntegrated.create(IndexMetadataIntegrated.java:99)
at nl.inl.blacklab.search.BlackLabIndexIntegrated.getIndexMetadata(BlackLabIndexIntegrated.java:164)
at nl.inl.blacklab.search.BlackLabIndexAbstract.<init>(BlackLabIndexAbstract.java:221)
at nl.inl.blacklab.search.BlackLabIndexIntegrated.<init>(BlackLabIndexIntegrated.java:134)
at nl.inl.blacklab.search.BlackLabEngine.openForWriting(BlackLabEngine.java:418)
at nl.inl.blacklab.search.BlackLabEngine.openForWriting(BlackLabEngine.java:242)
at nl.inl.blacklab.search.BlackLab.openForWriting(BlackLab.java:196)
at nl.inl.blacklab.search.BlackLab.openForWriting(BlackLab.java:165)
at nl.inl.blacklab.index.TestStandoffSpans.before(TestStandoffSpans.java:46)
The text was updated successfully, but these errors were encountered:
Lucene does not allow writing using backward-code.
The text was updated successfully, but these errors were encountered: