The Orange Book index was built a long time ago using an old version of lucene.
Jira CTAKES-38 is open regarding updating to a newer version of the Orange Book. I'll upate that issue to indicate that doing that will also fix the problem with the index having been created with too old of a version of Lucene. > -----Original Message----- > From: [email protected] > [mailto:[email protected]] > On Behalf Of Kusenda, Brandyn J > Sent: Wednesday, September 26, 2012 10:06 AM > To: [email protected] > Subject: RE: cTAKES assertion Lucene version > > FYI: I received the same error when loading the OrangeBook index. > > ________________________________________ > From: Coarr, Matt [[email protected]] > Sent: Wednesday, September 26, 2012 7:53 AM > To: [email protected] > Subject: Re: cTAKES assertion Lucene version > > The lucene message isn't from the assertion module (we aren't using > lucene). > > The first log statement is from the assertion module (at 5:05:35 PM). The > second one is not (at 5:08:46 PM). > > Matt > > > On 2012-09-25 17:13 , "Chen, Pei" <[email protected]> wrote: > > >Hi, > >I was updating the assertion module to use the maven dependencies, but > >was getting the below exception when using lucene core 3.5.0 from the > >parent which seems to be used by the other modules. > >Does anyone recall which version of Lucene does the featureFile11b > >should use? Is this as simple as rebuilding the index or something > >more involved??? > > > >9/25/12 5:08:35 PM - 10: > >org.mitre.medfacts.i2b2.cli.BatchRunner.loadEnabledFeaturesFromFile: > >INFO: opening enabled features file: > >\ctakes\ctakes-assertion\resources\org\mitre\medfacts\resources\feature > >Fil > >e11b > >9/25/12 5:08:46 PM - 10: > >org.apache.uima.tools.cvd.MainFrame.handleException(527): SEVERE: > >Exception occurred > >org.apache.uima.resource.ResourceInitializationException > > at > >org.apache.ctakes.core.resource.LuceneIndexReaderResourceImpl.load(Luce > >neI > >ndexReaderResourceImpl.java:79) > >... > >Caused by: org.apache.lucene.index.IndexFormatTooOldException: Format > >version is not supported (resource: > >ChecksumIndexInput(RAMInputStream(name=segments))): 20988 (needs to be > >between -1 and -11). This version of Lucene only supports indexes > >created with release 1.9 and later. > > at > >org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:275) > > > > > >Thanks, > >Pei > >
