Hi Satish,
Can you assign the keyword that you intend to search as the property
of the node? For example, assign 'neo4j' as a property of the node. Of
course, it won't be possible if it's a free form search that you
intend to do. But if you can, than traversing and sorting would be so
much easier.
Hi Satish,
if I understand you correctly, you could do the traversal in a breath first
fashion with
... node.traverse(Order.BREATH_FIRST, ...
You'll get the first degree Nodes before the second dgree nodes and so forth.
Regards,
Ulf
Satish Varma Dandu hat am 24. Februar 2010 um 19:37
gesch
If your resultset returns too many records is going to be slow sorting
after retrieving the results.
If you results have to be paginated in most cases you have to sort
over the full resultset.
Also if you plan to get things ordered by multiple properties you need
some kind of btree structure.
This
Hi John,
Thanks for the reply. Consider a scenario like LinkedIn:
1) I wanna search for all profiles in linkedin matching "Neo4J"
2) Now i get, lets say 20 people having Neo4J on their profiles. So far so
good. But i wanna order these search results based on my order. Like first i
wanna search r
2010/2/24 Rick Bullotta :
> Doh! I told you I wasn't sleeping enough...
>
> Thanks. Total "brain fart" on my end regarding the finally clause always
> being executed (how long have I been coding in Java?)
Haha, yeah... well we all forget stuff sometimes :)
>
> Just to clarify, no need to call tx.
Doh! I told you I wasn't sleeping enough...
Thanks. Total "brain fart" on my end regarding the finally clause always
being executed (how long have I been coding in Java?)
Just to clarify, no need to call tx.success() if my transaction is read
only, correct?
-Original Message-
From: us
2010/2/24 Rick Bullotta :
> Anyone?
Rick, did you get my answer? If not I could post it again
/ Mattias
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
Anyone?
-Original Message-
From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
Behalf Of Rick Bullotta
Sent: Tuesday, February 23, 2010 4:33 PM
To: 'Neo user discussions'
Subject: [Neo] Transaction/Exception question
If an exception cause a block of code to exit pr
Chalk my complaint up to user error. My code was something like this:
try {
//import a ton of data
Transaction.commit();
finally {
Transaction.ensureTransactionClosed();
}
commit() was failing w/ an OutOfMemoryError out of the Neo tx
finish(), but I never saw this exception: before the exc
I guess the bigger question to me is why 57 million relationships would require
13 GB for the propertystore file and 67 GB for the string propertystore.
Something doesn't seem right. Can you describe what types of properties you're
storing on each node/relationship?
Rick
-Original Message
Hi,
The last configuration for that store looks better. If you are doing
traversals and accessing properties for each hop on node/relationship
you need to increase the memory for the property store. If you are
requesting string properties you have to increase the size some there
too.
This may be
The configuration of the machines is a HP Proliant ML370 G5:
- 2x Quad Core Intel® Xeon® E5440 2,83 GHz
- 64Gb de memòria
- 2Tb disc (SFF)
And I've never finished the walk, the machine always crashes and I have
to restart, therefore I can't see the error. I think t
Hey Miguel,
What is the configuration of your machine, besides de amount of RAM you
reported?
Also, could you post the time to complete the walk?
-Regards
Gutemberg
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
2010/2/24 Sumanth Thikka :
> Hi Mario,
>
> Thanks for your reply.
>
> My requirement is to avoid duplicates. For that, do we need to find the
> nodes with the same value and avoid inserting, as it is mentioned or any
> alternative(optimized) ways known to do this?
The best way is probably to use an
Around 57.000.000 nodes and 322.000.000 relationships. Now I'm trying
with the following configuration:
neostore.nodestore.db.mapped_memory=913M
neostore.relationshipstore.db.mapped_memory=11G
neostore.propertystore.db.mapped_memory=50M
neostore.propertystore.db.strings.mapped_memory=100M
neostore
Hello, Miguel.
Approximately how many nodes and relationships are in your graph database?
Rick
-Original Message-
From: Miguel Ángel Águila Lorente
Date: Wed, 24 Feb 2010 11:06:35
To: Neo user discussions
Subject: Re: [Neo] Java outof 64 GB ram
Hi,
firstly I used the numbers o
Hi Mario,
Thanks for your reply.
My requirement is to avoid duplicates. For that, do we need to find the
nodes with the same value and avoid inserting, as it is mentioned or any
alternative(optimized) ways known to do this?
Thanks,
Sumanth
On Wed, Feb 24, 2010 at 2:24 PM, wrote:
> Hi Sumanth
Hi,
firstly I used the numbers of 9 bytes * number_of_nodes and 33 bytes *
number_of_relations for the neo.props configure, but it doesn't work.
After that I tried with my actual configuration:
neostore.nodestore.db.mapped_memory=180G
neostore.relationshipstore.db.mapped_memory=6000G
neostore.pr
Hi,
What is the error/problem you get when executing the program?
It is not a good idea to use all available RAM for the Java heap. Have
a look at http://wiki.neo4j.org/content/Configuration_Settings for
more information on how to configure Neo4j to make good use of
available RAM.
Regards,
-Joha
Hi,
You can not make such an ordered search using the Lucene indexing
service. You could try to only use a traverser instead of a Lucene
search and let the traverser do the filtering.
I am not sure I understand your problem completely. If you could
describe the problem in more detail I am sure we
Hi,
Yes we are working on monitoring tools. Since transactions are held in
memory until committed larger transactions (containing many write
operations) will consume more memory. It would be possible to not keep
the full transaction in memory but that would kill read performance in
that transactio
Even though the catch-clause throws an exception the finally-block
will be run as usual just as if there'd be no catch-clause at all.
What your code is missing is a tx.success() after doSomething(). Also
this code doesn't need the tx.failure() call (since throwing the
exception will make the tx.su
This question was answered in this thread on the neo4jrb mailing list:
http://groups.google.com/group/neo4jrb/browse_thread/thread/69315995dd28fa19
/anders
Sumanth Thikka wrote:
> Hi,
>
> I am newbie to neo4j and I am enjoying it.
>
> I have started to create nodes, relationships and assigning
Hi Sumanth,
Exactly like you would do for a real person, I'd say. Either you accept to
get back two nodes (in my case I often want all the nodes with
getProperty("type", "Customer") ), and then you iterate over them etc, or
you set up a simple Id as explained in
http://wiki.neo4j.org/content/Desig
24 matches
Mail list logo