You can also do a Rest call to shutdown the server, via execute gremlin.

Sent from my iPhone

On 01/10/2011, at 7:27 PM, "andrew ton" <[email protected]> wrote:

> 
> 
> 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
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
> 
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to