Received: by 10.180.88.170 with SMTP id bh10mr982758wib.3.1337476285674; Sat, 19 May 2012 18:11:25 -0700 (PDT) X-BeenThere: neo4j@googlegroups.com Received: by 10.180.76.202 with SMTP id m10ls1526867wiw.1.canary; Sat, 19 May 2012 18:11:24 -0700 (PDT) Received: by 10.180.88.170 with SMTP id bh10mr982757wib.3.1337476284039; Sat, 19 May 2012 18:11:24 -0700 (PDT) Received: by 10.180.88.170 with SMTP id bh10mr982756wib.3.1337476284024; Sat, 19 May 2012 18:11:24 -0700 (PDT) Return-Path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by gmr-mx.google.com with ESMTPS id n4si3214951wiw.0.2012.05.19.18.11.23 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 19 May 2012 18:11:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.173 is neither permitted nor denied by best guess record for domain of ppar...@era7.com) client-ip=209.85.212.173; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.212.173 is neither permitted nor denied by best guess record for domain of ppar...@era7.com) smtp.mail=ppar...@era7.com Received: by wibhj6 with SMTP id hj6so1144475wib.14 for ; Sat, 19 May 2012 18:11:23 -0700 (PDT) d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=r8vd/IPTp2BgXDI+4MBzLVba4T/bia0Id94S+jnfUXE=; b=Jkblr27yiA0UP9HecfIs/wg/mYqKD2LlNTiNvKys5qQkwCIvEAw7DNiW8jj909ZxuU 2HNlSzADO0oUaS1LksoMSvw3Dnenf9YvEte3CdKcvxgmj/pkPG2wXT29LbjAgqT59tLK MsWRHQKztxSZsLXiS6Tqu50oA9Q6Y4RKRnWrattKp8q00hDYufETPfQQTuNniV7/+WwI cy0R+PpCLOXuwoxCctfyo8H/0ah1zxGpNpnNXOyDiL9DDlryvpv44CR5tBzySyPC4/4t /vMvGN2n/Qgc3HisgL92FZKcfn/39kBee9GH0eRMrdvfdw2KAXlfOnWyaNc+ng4z+TQW Z7HQ== MIME-Version: 1.0 Received: by 10.216.134.2 with SMTP id r2mr10382884wei.31.1337476283551; Sat, 19 May 2012 18:11:23 -0700 (PDT) Received: by 10.216.202.193 with HTTP; Sat, 19 May 2012 18:11:23 -0700 (PDT) In-Reply-To: References: Date: Sat, 19 May 2012 21:11:23 -0400 Message-ID: Subject: Re: [Neo4j] Weird exception with Lucene index From: Pablo Pareja To: neo4j@googlegroups.com Content-Type: multipart/alternative; boundary=0016e6d77c4ac6cf2a04c06d76f7 X-Gm-Message-State: ALoCoQmURNa02OBl2qzWitd8FiyerW9znA5pdncjoPQIAN4nw4Wtd++ghnrvrbxw5KwG2QgvHNfH --0016e6d77c4ac6cf2a04c06d76f7 Content-Type: text/plain; charset=ISO-8859-1 Ok, thanks ;) Pablo On Sat, May 19, 2012 at 9:03 PM, David Montag < david.mon...@neotechnology.com> wrote: > It shouldn't be corrupted. It's just that 1.7 uses a later Lucene version > that 1.5 can't read. > > -David > On May 19, 2012 6:00 PM, "Pablo Pareja" wrote: > >> Hi David, >> >> Thanks for the quick response. You're right! >> I was combining two different programs and one of them has a version >> around 1.5 whilst the other one is built with 1.7, (silly me... :P ) >> I probably corrupted the DB then, because I was adding new content when >> using the program compiled with 1.5 to a previously created DB with 1.7 >> version .... >> >> Cheers, >> >> Pablo >> >> On Sat, May 19, 2012 at 8:54 PM, David Montag < >> david.mon...@neotechnology.com> wrote: >> >>> Hi Pablo, >>> >>> That's most likely caused by a version mismatch. What Neo4j version was >>> the store created with, and which version are you using to access it? Are >>> you running embedded? >>> >>> Thanks, >>> David >>> On May 19, 2012 5:43 PM, "Pablo Pareja" wrote: >>> >>>> Hi, >>>> >>>> I'm getting this exception when using a Lucene index and don't have any >>>> idea why I might be getting it: >>>> >>>> SEVERE: null >>>> java.lang.RuntimeException: >>>> org.apache.lucene.index.CorruptIndexException: unrecognized format -3 in >>>> file "_2q.fnm" >>>> at >>>> org.neo4j.index.impl.lucene.LuceneDataSource.getIndexWriter(LuceneDataSource.java:606) >>>> at >>>> org.neo4j.index.impl.lucene.LuceneDataSource.getIndexSearcher(LuceneDataSource.java:489) >>>> at >>>> org.neo4j.index.impl.lucene.LuceneIndex.query(LuceneIndex.java:248) >>>> at >>>> org.neo4j.index.impl.lucene.LuceneIndex.get(LuceneIndex.java:187) >>>> at >>>> com.era7.bioinfo.bio4jmodel.util.NodeRetriever.getNCBITaxonByTaxId(NodeRetriever.java:278) >>>> at >>>> com.era7.bioinfo.mg7.CountTaxonomyFreqs.main(CountTaxonomyFreqs.java:86) >>>> at >>>> com.era7.bioinfo.mg7.CountTaxonomyFreqs.execute(CountTaxonomyFreqs.java:44) >>>> at >>>> com.era7.lib.bioinfo.bioinfoutil.ExecuteFromFile.main(ExecuteFromFile.java:66) >>>> at com.era7.bioinfo.mg7.MG7.main(MG7.java:34) >>>> Caused by: org.apache.lucene.index.CorruptIndexException: unrecognized >>>> format -3 in file "_2q.fnm" >>>> at org.apache.lucene.index.FieldInfos.read(FieldInfos.java:349) >>>> at org.apache.lucene.index.FieldInfos.(FieldInfos.java:71) >>>> at >>>> org.apache.lucene.index.IndexWriter.getFieldInfos(IndexWriter.java:1197) >>>> at >>>> org.apache.lucene.index.IndexWriter.getCurrentFieldInfos(IndexWriter.java:1213) >>>> at >>>> org.apache.lucene.index.IndexWriter.(IndexWriter.java:1149) >>>> at >>>> org.neo4j.index.impl.lucene.LuceneDataSource.getIndexWriter(LuceneDataSource.java:593) >>>> ... 8 more >>>> >>>> I'm using Neo4j 1.7 on a Linux machine. >>>> Any clues? >>>> Thanks! >>>> >>>> >>>> Pablo >>>> -- >>>> Pablo Pareja Tobes >>>> >>>> My site http://about.me/pablopareja >>>> LinkedIn http://www.linkedin.com/in/pabloparejatobes >>>> Twitter http://www.twitter.com/pablopareja >>>> >>>> Creator of Bio4j --> http://www.bio4j.com >>>> >>>> http://www.ohnosequences.com >>>> >>>> >> >> >> -- >> Pablo Pareja Tobes >> >> My site http://about.me/pablopareja >> LinkedIn http://www.linkedin.com/in/pabloparejatobes >> Twitter http://www.twitter.com/pablopareja >> >> Creator of Bio4j --> http://www.bio4j.com >> >> http://www.ohnosequences.com >> >> -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedIn http://www.linkedin.com/in/pabloparejatobes Twitter http://www.twitter.com/pablopareja Creator of Bio4j --> http://www.bio4j.com http://www.ohnosequences.com --0016e6d77c4ac6cf2a04c06d76f7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Ok, thanks ;)

Pablo

On Sat, May 19, 2012 at 9:03 PM, David Montag = <dav= id.mon...@neotechnology.com> wrote:

It shouldn't be corrupted. It's j= ust that 1.7 uses a later Lucene version that 1.5 can't read.

-David

On May 19, 2012 6:00 PM, "Pablo Pareja"= ; <ppar...@era7.co= m> wrote:
Hi David,=A0

Thanks for the quick response. You're r= ight!=A0
I was combining two different programs and one of them h= as a version around 1.5 whilst the other one is built with 1.7, (silly me..= . :P )
I probably corrupted the DB then, because I was adding new content whe= n using the program compiled with 1.5 to a previously created DB with 1.7 v= ersion ....=A0

Cheers,

Pablo=A0

On Sat, May 19, 2012 at 8:54 PM,= David Montag <david.mon...@neotechnology.com> = wrote:

Hi Pablo,

That's most likely caused by a version mismatch. What Neo4j version = was the store created with, and which version are you using to access it? A= re you running embedded?

Thanks,
David

On May 19, 2012 5:43 PM, "Pablo Pareja"= ; <ppar...@era7.co= m> wrote:
Hi,

I'm getting this exception when using a Lucene i= ndex and don't have any idea why I might be getting it:

<= /div>
SEVERE: null
java.lang.RuntimeException: org.apach= e.lucene.index.CorruptIndexException: unrecognized format -3 in file "= _2q.fnm"
=A0 =A0 =A0 =A0 at org.neo4j.index.impl.lucene.LuceneDataSource.getInd= exWriter(LuceneDataSource.java:606)
=A0 =A0 =A0 =A0 at org.neo4j.= index.impl.lucene.LuceneDataSource.getIndexSearcher(LuceneDataSource.java:4= 89)
=A0 =A0 =A0 =A0 at org.neo4j.index.impl.lucene.LuceneIndex.query(LuceneInde= x.java:248)
=A0 =A0 =A0 =A0 at org.neo4j.index.impl.lucene.Lucene= Index.get(LuceneIndex.java:187)
=A0 =A0 =A0 =A0 at com.era7.bioin= fo.bio4jmodel.util.NodeRetriever.getNCBITaxonByTaxId(NodeRetriever.java:278= )
=A0 =A0 =A0 =A0 at com.era7.bioinfo.mg7.CountTaxonomyFreqs.main(CountT= axonomyFreqs.java:86)
=A0 =A0 =A0 =A0 at com.era7.bioinfo.mg7.Cou= ntTaxonomyFreqs.execute(CountTaxonomyFreqs.java:44)
=A0 =A0 =A0 = =A0 at com.era7.lib.bioinfo.bioinfoutil.ExecuteFromFile.main(ExecuteFromFil= e.java:66)
=A0 =A0 =A0 =A0 at com.era7.bioinfo.mg7.MG7.main(MG7.java:34)
Caused by: org.apache.lucene.index.CorruptIndexException: unrecognized fo= rmat -3 in file "_2q.fnm"
=A0 =A0 =A0 =A0 at org.apache= .lucene.index.FieldInfos.read(FieldInfos.java:349)
=A0 =A0 =A0 =A0 at org.apache.lucene.index.FieldInfos.<init>(Fie= ldInfos.java:71)
=A0 =A0 =A0 =A0 at org.apache.lucene.index.Index= Writer.getFieldInfos(IndexWriter.java:1197)
=A0 =A0 =A0 =A0 at or= g.apache.lucene.index.IndexWriter.getCurrentFieldInfos(IndexWriter.java:121= 3)
=A0 =A0 =A0 =A0 at org.apache.lucene.index.IndexWriter.<init>(In= dexWriter.java:1149)
=A0 =A0 =A0 =A0 at org.neo4j.index.impl.luce= ne.LuceneDataSource.getIndexWriter(LuceneDataSource.java:593)
=A0= =A0 =A0 =A0 ... 8 more

I'm using Neo4j 1.7 on a Linux machine.
A= ny clues?
Thanks!





--
= Pablo Pareja Tobes=A0



--
= Pablo Pareja Tobes=A0
--0016e6d77c4ac6cf2a04c06d76f7--