lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karol Rybak (JIRA)" <>
Subject [jira] Commented: (LUCENENET-101) Using incorrect base when opening index
Date Wed, 26 Sep 2007 12:06:50 GMT


Karol Rybak commented on LUCENENET-101:

Sorry i should have been more specific. There is a problem with opening java lucene indexes
not with searching them. Java uses base 36 for naming segments files and because
uses base 16 it's not capable of opening them. I've made a quick fix, however I have used
a class found on codeproject for base conversion so i'm not sure i can submit that. Problematic
conversions are at Index/IndexFileNames line 86 and Index/SegmentInfos lines 165 and 257.
Also i have only tested reading indexes not writing them and reading in lucene java.

> Using incorrect base when opening index
> ---------------------------------------
>                 Key: LUCENENET-101
>                 URL:
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: Not relevant
>            Reporter: Karol Rybak
> Lucene.Net is using base 16 for generation while Lucene java is using base 36, there
is no simple workaround since .net Convert.ToInt64 only supports base of 2, 8, 10, or 16.
A function to convert bases is required.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message