[ 
https://issues.apache.org/jira/browse/LUCENE-5121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13713360#comment-13713360
 ] 

Robert Muir commented on LUCENE-5121:
-------------------------------------

{quote}
Well the fields that we use for docValues are defined as below. Whats is 
non-standard here?
{quote}

The wiki page is quite clear about this: 
http://wiki.apache.org/solr/DocValues#Specifying_a_different_Codec_implementation

{quote}
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)

 
<codecFactory class="solr.SchemaCodecFactory"/>
{quote}

Its too bad you didn't also include the comment that goes with that line in 
solrconfig.xml, which also warns about this!

{noformat}
  <!-- The CodecFactory for defining the format of the inverted index.
       The default implementation is SchemaCodecFactory, which is the official 
Lucene
       index format, but hooks into the schema to provide per-field 
customization of
       the postings lists and per-document values in the fieldType element
       (postingsFormat/docValuesFormat). Note that most of the alternative 
implementations
       are experimental, so if you choose to customize the index format, its a 
good
       idea to convert back to the official format e.g. via 
IndexWriter.addIndexes(IndexReader)
       before upgrading to a newer version to avoid unnecessary reindexing.
  -->
{noformat}
                
> 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]

Reply via email to