You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexandre Rafalovitch (JIRA)" <ji...@apache.org> on 2014/12/20 20:08:13 UTC

[jira] [Created] (SOLR-6872) Starting techproduct example fails on Trunk with "Version is too old" for PackedInts

Alexandre Rafalovitch created SOLR-6872:
-------------------------------------------

             Summary: Starting techproduct example fails on Trunk with "Version is too old" for PackedInts
                 Key: SOLR-6872
                 URL: https://issues.apache.org/jira/browse/SOLR-6872
             Project: Solr
          Issue Type: Bug
    Affects Versions: Trunk
            Reporter: Alexandre Rafalovitch
            Priority: Blocker
             Fix For: Trunk


{quote}
bin/solr -e techproducts
{quote}

causes:
{quote}
...
Caused by: java.lang.ExceptionInInitializerError
	at org.apache.lucene.codecs.lucene50.Lucene50PostingsWriter.&lt;init&gt;(Lucene50PostingsWriter.java:111)
	at org.apache.lucene.codecs.lucene50.Lucene50PostingsFormat.fieldsConsumer(Lucene50PostingsFormat.java:429)
	at org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsWriter.write(PerFieldPostingsFormat.java:196)
	at org.apache.lucene.index.FreqProxTermsWriter.flush(FreqProxTermsWriter.java:107)
	at org.apache.lucene.index.DefaultIndexingChain.flush(DefaultIndexingChain.java:112)
	at org.apache.lucene.index.DocumentsWriterPerThread.flush(DocumentsWriterPerThread.java:420)
	at org.apache.lucene.index.DocumentsWriter.doFlush(DocumentsWriter.java:504)
	at org.apache.lucene.index.DocumentsWriter.flushAllThreads(DocumentsWriter.java:614)
	at org.apache.lucene.index.IndexWriter.prepareCommitInternal(IndexWriter.java:2714)
....
Caused by: java.lang.IllegalArgumentException: Version is too old, should be at least 2 (got 0)
	at org.apache.lucene.util.packed.PackedInts.checkVersion(PackedInts.java:77)
	at org.apache.lucene.util.packed.PackedInts.getDecoder(PackedInts.java:742)

{quote}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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