[Neo4j] Index got deleted when deploy to production

2011-07-10 Thread noppanit
I'm building an app with neo4j, and I create one index for my node. I tested it locally it works fine, but when I deploy to EC2 which is using jetty (I'm using Grails, so I packed my application in war). Somehow I got NullPointerException because the index that I've created before deploying

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread noppanit
Can I use luke? -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Index-got-deleted-when-deploy-to-production-tp3157195p3157205.html Sent from the Neo4J User List mailing list archive at Nabble.com. ___ Neo4j mailing list

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
the lucene tool is called luke just point it to the directory of your concrete index mobile mail please excuse brevity and typos Am 10.07.2011 um 20:47 schrieb noppanit noppani...@gmail.com: Is there any tool that I could use to look at lucene database? So, after packed the war file, I can

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
Did you also copy you store directory with the graph and index data to ec2 to the same correct location that xou give to EmbeddedGraphDatabaseService? M mobile mail please excuse brevity and typos Am 10.07.2011 um 20:44 schrieb noppanit noppani...@gmail.com: I'm building an app with neo4j,

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread noppanit
When I open with Luke I got this error. No valid direction, please try another location. I point to the same folder as I use in EmbeddedGraphDatabaseService. And yeh, the grails prod war command takes care of that for me to pack the war and my db direction is int WEB-INF/resources/db. Thanks

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Marko Rodriguez
Do an ls on your Neo4j directory. Notice that there is an index directory. Also notice an index/lucene directory. Then notice an index/lucene/nodes directory. So forth and so on. Marko. On Jul 10, 2011, at 1:16 PM, noppanit wrote: When I open with Luke I got this error. No valid direction,

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread noppanit
I found the problem, when Jetty extracts the war file it ignores files with _ initial for some reason. Does anybody know why? Thanks a lot. -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Index-got-deleted-when-deploy-to-production-tp3157195p3157275.html Sent from

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread noppanit
but when I point luke to the database direction where I also use EmbeddedGraphDatabase to point at I got error Invalid location, please try another location Thanks. :) -- View this message in context:

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread noppanit
but when I point luke to the database direction where I also use EmbeddedGraphDatabase to point at I got error Invalid location, please try another location Thanks. :) -- View this message in context:

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
As Marko said: the directory is: graph.db/index/lucene/node/my_index Michael Am 10.07.2011 um 22:21 schrieb noppanit: but when I point luke to the database direction where I also use EmbeddedGraphDatabase to point at I got error Invalid location, please try another location Thanks. :)

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread noppanit
Hi! sorry if I keep bothering you. I point to db/index/lucene/node/myindex now. I got this error. Unknown format version: -11 Thanks :) -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Index-got-deleted-when-deploy-to-production-tp3157195p3157622.html Sent from

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
Can you pack your db and provide it somewhere, perhaps on dropbox? That would be great for investigation. Thanks Michael Am 11.07.2011 um 00:40 schrieb noppanit: Hi! sorry if I keep bothering you. I point to db/index/lucene/node/myindex now. I got this error. Unknown format version:

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Rick Bullotta
Luke versions are somewhat specific to lucene versions. Which version of Luke and which version of neo are you using??? - Reply message - From: noppanit noppani...@gmail.com Date: Sun, Jul 10, 2011 6:40 pm Subject: [Neo4j] Index got deleted when deploy to production To: user

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread Michael Hunger
Oh, you should use Luke 3.1.0 Thanks Rick for pointing that out. see here http://code.google.com/p/luke/downloads/list Luke releases are numbered the same as the version of Lucene libraries that they use (plus a minor number in case of bugfix releases). Cheers Michael Am 11.07.2011 um 01:23

Re: [Neo4j] Index got deleted when deploy to production

2011-07-10 Thread noppanit
Oh lol, I missed like 3 versions. :( Thanks. It works now. :) -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Index-got-deleted-when-deploy-to-production-tp3157195p3157666.html Sent from the Neo4J User List mailing list archive at Nabble.com.