Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Weird exception with Lucene index
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Pablo Pareja  
View profile  
 More options May 19 2012, 8:43 pm
From: Pablo Pareja <ppar...@era7.com>
Date: Sat, 19 May 2012 20:43:19 -0400
Local: Sat, May 19 2012 8:43 pm
Subject: Weird exception with Lucene index

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(LuceneDataSourc e.java:606)
        at
org.neo4j.index.impl.lucene.LuceneDataSource.getIndexSearcher(LuceneDataSou rce.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(NodeRetr iever.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.<init>(FieldInfos.java:71)
        at
org.apache.lucene.index.IndexWriter.getFieldInfos(IndexWriter.java:1197)
        at
org.apache.lucene.index.IndexWriter.getCurrentFieldInfos(IndexWriter.java:1 213)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1149)
        at
org.neo4j.index.impl.lucene.LuceneDataSource.getIndexWriter(LuceneDataSourc e.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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Montag  
View profile  
 More options May 19 2012, 8:54 pm
From: David Montag <david.mon...@neotechnology.com>
Date: Sat, 19 May 2012 17:54:51 -0700
Local: Sat, May 19 2012 8:54 pm
Subject: Re: [Neo4j] Weird exception with Lucene index

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" <ppar...@era7.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pablo Pareja  
View profile  
 More options May 19 2012, 9:00 pm
From: Pablo Pareja <ppar...@era7.com>
Date: Sat, 19 May 2012 21:00:38 -0400
Local: Sat, May 19 2012 9:00 pm
Subject: Re: [Neo4j] Weird exception with Lucene index

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 <

--
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Montag  
View profile  
 More options May 19 2012, 9:03 pm
From: David Montag <david.mon...@neotechnology.com>
Date: Sat, 19 May 2012 18:03:56 -0700
Local: Sat, May 19 2012 9:03 pm
Subject: Re: [Neo4j] Weird exception with Lucene index

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" <ppar...@era7.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pablo Pareja  
View profile  
 More options May 19 2012, 9:11 pm
From: Pablo Pareja <ppar...@era7.com>
Date: Sat, 19 May 2012 21:11:23 -0400
Local: Sat, May 19 2012 9:11 pm
Subject: Re: [Neo4j] Weird exception with Lucene index

Ok, thanks ;)

Pablo

On Sat, May 19, 2012 at 9:03 PM, David Montag <

--
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Montag  
View profile  
 More options May 19 2012, 10:20 pm
From: David Montag <david.mon...@neotechnology.com>
Date: Sat, 19 May 2012 19:20:46 -0700
Local: Sat, May 19 2012 10:20 pm
Subject: Re: [Neo4j] Weird exception with Lucene index

Happy to help :)

--
David Montag <david.mon...@neotechnology.com>
Neo Technology, www.neotechnology.com
Cell: 650.556.4411
Skype: ddmontag

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »