On Tue, Jan 12, 2010 at 6:41 AM, Ryan Levering wrote:
>
> 1. User.getName()
>
> I want a property off the node. I assume I encapsulate the single
> internal getProperty call in a transaction? My accessor code has just
> quadrupled in size, even if I am ok with this silly, time-consuming
> transa
Anybody care to share a strategy or base classes for unit testing
operations in the graph?
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Tim,
this is a common misconception - you want warm caches, but maven or
any other build system is testing cold since everything is started in
a fresh JVM.
I think here there might be an option to introduce some "warmup"
switch to Neo4j. In that case, Neo4j would try to fit the graph into
memory b
Awesome, thanks!
2010/1/11 Peter Neubauer :
> Zerony and Raul,
> I added this quirk to the Wiki for future reference, feel free to
> flesh it out,
> http://wiki.neo4j.org/content/Indexing_with_IndexService#Range_queries
>
> Cheers,
>
> /peter neubauer
>
> COO and Sales, Neo Technology
>
> GTalk:
Zerony and Raul,
I added this quirk to the Wiki for future reference, feel free to
flesh it out,
http://wiki.neo4j.org/content/Indexing_with_IndexService#Range_queries
Cheers,
/peter neubauer
COO and Sales, Neo Technology
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 70
Not that this solves your issue but...
1. If it is a webapp you can use a filter that wraps the request
around a transaction try catch finally... then your code would be
transaction free (mostly)
2. If you use a Spring service you can use @Transational or AOP
interceptors to annotate operations th
I know this has come up a couple of times and that transactions are
being worked on it Traversers, but I just can't get my head around how
people use neo4j transactions in general. When I started writing
neo4j code a couple days ago, I was amazed at two things: 1) how
efficient and fast it
AFAIK this behavior is specific to lucene as lucene indexes everything
as Strings following their natural order.
http://wiki.apache.org/lucene-java/SearchNumericalFields
2010/1/11 Zerony Zhao :
> Hi Neo4j users,
>
> I am confused with LuceneFulltextQueryIndexService.
>
> For integer,
>
> IndexServ
Hi Neo4j users,
I am confused with LuceneFulltextQueryIndexService.
For integer,
IndexService index = new LuceneFulltextQueryIndexServic
e( neo );
index.index( myNode1, "someKey", 1 );
index.index( myNode2, "someKey", 2 );
index.index( myNode3, "someKey", 12 );
index.index( myNode4, "someKey", 2
Thanks for your reply.
Since I am trying to search a range of integer, index.getNodes( "someKey",
"[0 TO 1]" ) will returns node with "somekey" value such as 1, 11, 111
supposing having 1, 11, 111, but I only want returning 1 exactly. I know one
of solution is using padding scheme to solve the pro
Thank you everyone -i really appreciate all your help ;)
(*embarassed though*)
This time it was completely my fault -i'd been benchmarking on a cold
cache - once I removed this limitation it flys
(*embarassed again*)
T
Sent from my iPhone so please excuse typos adn brevity
Tim Langley
+44 79
On Tue, Jan 12, 2010 at 12:27 AM, Rick Bullotta
wrote:
>> In terms of setting Java VM parameters, I know how to do it for a Java app
> or application server, but not for Scala. ;-)
>
> Anyone?
scala and scalac are shell script (or batch on windows).
On my scala version, the end of the script look
Hi, Tim.
Here's a section on the various memory tuning options for Neo.
http://wiki.neo4j.org/content/Neo_Performance_Guide
In terms of setting Java VM parameters, I know how to do it for a Java app
or application server, but not for Scala. ;-)
Anyone?
Rick
-Original Message-
From: u
hey Rick
Thanks for this (I'm n00b tho - how do I do this pls?)
T
On 11 Jan 2010, at 23:21, Rick Bullotta wrote:
> and tweak the memory allocation settings for the jvm and neo...
>
>
> -Original Message-
> From: Peter Neubauer
> Date: Mon, 11 Jan 2010 23:19:07
> To: Neo user di
and tweak the memory allocation settings for the jvm and neo...
-Original Message-
From: Peter Neubauer
Date: Mon, 11 Jan 2010 23:19:07
To: Neo user discussions
Subject: Re: [Neo] Neo is very slow (I think I'm being stupid)
Tim,
I think the structure is quite normal, would be goo
Tim,
I think the structure is quite normal, would be good to see the code,
you could send it to me off-list. That way I get an impression on both
the querying code, the dataset size and maybe test-run it.
Cheers,
/peter neubauer
COO and Sales, Neo Technology
GTalk: neubauer.peter
Skype
hi Peter
Thanks for the rapid response (one of the reasons I really like the Neo crowd)
ok - structure
Node: Event (for the start of a session)
So the first time a user loads a page then creating a new
NodeEvent
Node: EventItem
Every time the user generates a new
Tim,
yes, since your loading evidently is working normally, a look at your
graph layout and query code would be great to have any opinion on what
might be wrong/not optimal.
Cheers,
/peter neubauer
COO and Sales, Neo Technology
GTalk: neubauer.peter
Skype peter.neubauer
Phone +
hey :)
ok - I'm trying to build a "web-analytics" program using Neo4j
in a very similar manner to http://wiki.neo4j.org/content/Site_Usage_Analytics
I'm using Scala (and whilst eventually there will be a REST API - at the moment
everything is within Scala)
The loading of data is blisteringly fas
We will probably cruft together some type of neo viewer/editor in flex (java
back end) in the next few months. It will rely on traversing from the root
node, most likely.
--Original Message--
From: Laurent Laborde
Sender: user-boun...@lists.neo4j.org
To: Neo user discussions
ReplyTo: N
I have an old framework for serving neo graphs as web pages which I
was deploying using tomcat. It allows you to describe a template for
rendering a neo node and some options around mapping nodes to url. It
is part of the snosled project on sourceforge which has not been
progressing at the moment :
Mmmm, there is, in fact, a neo4j grails plugin :)
http://www.grails.org/plugin/neo4j
--
Laurent "ker2x" Laborde
Sysadmin & DBA at http://www.over-blog.com/
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
22 matches
Mail list logo