[
https://issues.apache.org/jira/browse/LUCENE-5121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713156#comment-13713156
]
Aditya edited comment on LUCENE-5121 at 7/19/13 12:23 AM:
----------------------------------------------------------
Well the fields that we use for docValues are defined as below. Whats is
non-standard here?
{code:xml}
<fieldType name="dv_date" class="solr.TrieDateField" omitNorms="true"
precisionStep="6" docValuesFormat="Disk" positionIncrementGap="0" />
<dynamicField name="lcontNumOfDownload.*" type="dv_long" indexed="true"
stored="true" default="0" docValues="true"/>
{code}
Where as my solrconfig.xml file i had to add this line to make it work. (cause
we upgraded from 3.5 to 4.2.1)
{code:xml}
<codecFactory class="solr.SchemaCodecFactory"/>
{code}
was (Author: abakle):
Well the fields that we use for docValues are defined as below. Whats is
non-standard here?
{code:xml}
<fieldType name="dv_date" class="solr.TrieDateField" omitNorms="true"
precisionStep="6" docValuesFormat="Disk" positionIncrementGap="0" />
<dynamicField name="lcontNumOfDownload.*" type="dv_long" indexed="true"
stored="true" default="0" docValues="true"/>
{code}
Where as my solrconfig.xml file i had to add this line to make it work.
{code:xml}
<codecFactory class="solr.SchemaCodecFactory"/>
{code}
> 4.4 RC0 can not read indexes created with 4.2.1 using Disk based docvals
> ------------------------------------------------------------------------
>
> Key: LUCENE-5121
> URL: https://issues.apache.org/jira/browse/LUCENE-5121
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Hoss Man
> Priority: Blocker
> Fix For: 4.4
>
> Attachments: disk_docvals_bug.tgz
>
>
> On the #solr irc channel, user adityab reported a problem trying to upgrade
> an existing solr instance from 4.2.1 to the 4.4 RC0 code. The specific error
> he reported was a "CorruptIndexException: invalid type: 65" from
> DiskDocValuesProducer.readFields using an MMapIndexInput. While waiting for
> more details from adityab on reproducible configs, i attempted to do a
> trivial test using simple solr configs based on the docvals test configs, and
> was able to trigger a slightly different error in which
> DiskDocValuesProducer.readFields caused an EOFException.
> The problem reproduces on both solr init, and when using CheckIndex --
> details to reproduce to follow in an attachment/comment
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]