Re: [Neo4j] IndexProvider question

2010-09-09 Thread Honnur Vorvoi
I would like to set AND as the default operator when I create index using the new index library: Index = indexProvider.nodeIndex( "fulltext", LuceneIndexProvider.FULLTEXT_CONFIG );   I didn't find "setDefaultOperator" (similar to the one in LuceneFulltextQueryIndexService )in any of the provider

Re: [Neo4j] IndexProvider question

2010-09-09 Thread Honnur Vorvoi
Thanks Mattias. Since IndexProvider does all LuceneFulltextQueryIndexService can do and much more, I am going to use just IndexProvider.     Date: Wed, 8 Sep 2010 16:28:56 +0200 From: Mattias Persson Subject: Re: [Neo4j] IndexProvider question To: Neo4j user discussions Message-ID:     Content-

Re: [Neo4j] Using the REST neo4j

2010-09-09 Thread Alexandru Popescu ☀
On Tuesday, September 7, 2010, Jacob Hansson wrote: > 2010/9/6 Alexandru Popescu ☀ > >> On Monday, September 6, 2010, Jim Webber wrote: >> > Hi Alex, >> > >> >> While I still can achieve all these with the current packaging, it >> >> feels more "hacky": I need to create a new Jetty6BasedWebServe

Re: [Neo4j] OSGi Dependency Injection

2010-09-09 Thread Toni Menzel
Sounds like a plan (" I intend to touch as little as possible") ! Let me know when you publish something to watch to the public repo or some visible area so we can talk about that. - if you want. Cheers. On Wed, Sep 8, 2010 at 1:36 PM, Andreas Kollegger < andreas.kolleg...@neotechnology.com> wro

Re: [Neo4j] java heep size in neo4j when importing huge data

2010-09-09 Thread Francois Kassis
thx a lot andres it worked fine with ur solution. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] java heep size in neo4j when importing huge data

2010-09-09 Thread Andres Taylor
Hi again Francois, You could try committing every 100 rows or something like that. The code is a bit more complex when you can't use the with statement, but it would look something like this: try: tx = graphdb.transaction.begin() for num, data in enumerate(data_list): if num % 100: tx.success() t

Re: [Neo4j] java heep size in neo4j when importing huge data

2010-09-09 Thread Francois Kassis
I tried it but will be extremely slow Thx anyway. -- From: Sent: Thursday, September 09, 2010 1:00 PM To: Subject: User Digest, Vol 42, Issue 19 > Send User mailing list submissions to > user@lists.neo4j.org > > To subscribe or unsubscribe via the

Re: [Neo4j] java heep size in neo4j when importing huge data

2010-09-09 Thread Andres Taylor
Hi Francois, When you do things inside of a transaction, it stays in memory until you commit your transaction. If you commit smaller chunks, you won't run into this problem. So instead of doing: li_index = 0 *with graphdb.transaction: for data in data_list:* data[0] = unicode(data[0], '