Version Compatibility (zoie-3.1.0 -> zoie-4.0.0)

39 views
Skip to first unread message

Sonia Matamoros Rivero

unread,
Dec 11, 2013, 11:09:03 AM12/11/13
to zo...@googlegroups.com
Hi,

I have an index created with zoie-3.1.0 and I want to migrate it to zoie-4.0.0 but I've saw you have done some changes in ZoieSegmentReader
and now the method init() launches a NullPointerException because 

NumericDocValues uidValues = reader.getNumericDocValues(AbstractZoieIndexable.DOCUMENT_ID_PAYLOAD_FIELD); 

is null.
        
In indexes created with zoie-4.0.0 this method no have errors because the _ID field is created like    

Field uidField = new NumericDocValuesField(AbstractZoieIndexable.DOCUMENT_ID_PAYLOAD_FIELD, id);


Migration of old indexes to the new version of zoie is possible?

Thanks in advance.

Regards,

Sonia

John

unread,
Dec 11, 2013, 1:21:06 PM12/11/13
to zo...@googlegroups.com
Hi Sonia:

    You are right 4.0.0 index is not backward compatible.

    I am happy to write a small migration program. Can you gimme a small sample index?

-John
Reply all
Reply to author
Forward
0 new messages