Re: [Neo4j] Lucene index recovery

2011-10-01 Thread Mattias Persson
It might be that you're not shutting down the server correctly (bin/neo4j
stop) or that it's shut down at the same time as there are transactions
running. Could you supply your data/graph.db/messages.log to me or look in
it to see if there are any lines containing:

Close invoked with

An example:

Close invoked with 3 running transaction(s)

2011/9/1 Peter Neubauer peter.neuba...@neotechnology.com

 Dima,
 are you shutting down your database correctly? Make sure you can
 database.shutdown() and wait for it to finish ...

 Cheers,

 /peter neubauer

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org   - Your high performance graph database.
 http://startupbootcamp.org/- Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.


 On Thu, Sep 1, 2011 at 1:31 PM, Dima Gutzeit dima.gutz...@mailvision.com
 wrote:

  Dear list members,
 
  Each time I restart my server based on Neo4J I can see this in the logs:
 
  Sep 1, 2011 7:23:17 PM
  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
  doInternalRecovery
  INFO: Non clean shutdown detected on log
 [/opt/data/nioneo_logical.log.2].
  Recovery started ...
  Sep 1, 2011 7:23:18 PM
  org.neo4j.kernel.impl.transaction.xaframework.XaLogicalLog
  doInternalRecovery
  INFO: Non clean shutdown detected on log [/opt/data/index/lucene.log.1].
  Recovery started ...
 
  Operation which takes time ... lots of time.
 
  What is the correct way of preventing that when restarting ?
 
  Thanks in advance.
 
  Regards,
  Dima Gutzeit.
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Problem with lucene indexing

2011-10-01 Thread Rick Bullotta
Classpath?

-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On 
Behalf Of andrew ton
Sent: Saturday, October 01, 2011 5:27 AM
To: Neo4j_user
Subject: [Neo4j] Problem with lucene indexing



Hello,

I have a problem with indexing when using the Neo4J embedded database. I'm 
using neo4j-1.5M01, neo4j-lucene-index-1.5M01.
I have tried both lucene-core-3.1.0 and lucene-core-3.4.0. Can somebody show me 
what is wrong here? 

I create an instance of EmbeddedGraphDatabase as
graphDb = new EmbeddedGraphDatabase(mystore);

and create index:
nodeIndex = graphDb.index().forNodes(nodes, MapUtil.stringMap(provider, 
lucene, type, fulltext));

When I run unit test I have a problem:

com.ericsson.research.semantic.PersistentEmbeddedOntology -Exception caugth 
while instantiating. No index provider 'lucene' found
java.lang.IllegalArgumentException: No index provider 'lucene' found

and this is the messages.log in my store


Sat Oct 01 01:41:20 PDT 2011: Failed to load index provider lucene LUCENE_31
java.lang.NoSuchFieldError: LUCENE_31
at 
org.neo4j.index.impl.lucene.LuceneDataSource.clinit(LuceneDataSource.java:88)
at 
org.neo4j.index.impl.lucene.LuceneIndexImplementation.init(LuceneIndexImplementation.java:72)
at org.neo4j.index.lucene.LuceneIndexProvider.load(LuceneIndexProvider.java:37)
at org.neo4j.kernel.KernelData.loadIndexImplementations(KernelData.java:146)
at 
org.neo4j.kernel.EmbeddedGraphDbImpl$2.initializeIndexProviders(EmbeddedGraphDbImpl.java:180)
at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:159)
at org.neo4j.kernel.EmbeddedGraphDbImpl.init(EmbeddedGraphDbImpl.java:190)
at org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:80)
at org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:64)

Thank you,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] REST Performance

2011-10-01 Thread Christian Straight

I'm evaluating using REST-ful calls to neo4j stand-alone servermainly I 
would like to understand the performance issues better.  Can anyone on this 
list direct me to some neo4j benchmarks?

many thanks,
Christian Straight @
WildGigs

.:. Typed with thumbs and sent from my HTC Evo

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user