Hi Todd,
yeah, that is certainly a feature to add to the Neo Shell.
Otherwise, Marko has just been finishing neo-integration for Gremlin,
http://gremlin.tinkerpop.com which is treating realtionships as first
class citizens and will show you properties,
http://wiki.github.com/tinkerpop/gremlin/basi
Is there a way to list a property of a relationship in Neo Shell? If
not, is there another way to do this without using Neoclipse? I am
SSHing into an EC2 instance.
Thanks,
Todd
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/li
Sweet.
My test using the LuceneIndex worked like a charm. I set off a test
script to index the same node 100,000 times in 10 threads and there
were zero exceptions =)
here's the ghetto, brute force test. Feedback and tips are always
welcome http://gist.github.com/254435
Thanks for the help guys,
Hey Johan,
Here's the stacktrace I get when I run the code at:
http://gist.github.com/253569
Exception in thread "pool-1-thread-16"
org.neo4j.api.core.NotFoundException: More than one
relationship[KEY_ENTRY, OUTGOING] found for NodeImpl#3
at org.neo4j.impl.core.NodeImpl.getSingleRelations
Thank you very much Mattias. I will test it as soon as possible and I'll
will tell you something.
Núria.
2009/12/11 Mattias Persson
> I've tried this a couple of times now and first of all I see some
> problems in your code:
>
> 1) In the method createRelationsTitleImage you have an inverted "h
Thanks Tobias, this works just great!
/Jan Erik
On Fri, Dec 11, 2009 at 5:49 AM, Tobias Ivarsson
wrote:
> Hi Jan Erik,
>
> Nice to see you here on the list! Welcome!
>
> Short answer: Serialize to the id of node, then use neo.node[id] to
> unserialize.
>
> I haven't thought about support for pic
I've tried this a couple of times now and first of all I see some
problems in your code:
1) In the method createRelationsTitleImage you have an inverted "head
!= -1" check where it should be "head == -1"
2) You index relationships in createRelationsBetweenTitles method,
this isn't ok since the in
Hi Jan Erik,
Nice to see you here on the list! Welcome!
Short answer: Serialize to the id of node, then use neo.node[id] to
unserialize.
I haven't thought about support for pickle before, but that could be a nice
addition. The above is (roughly) what it would do. The main difference being
that t
Hi,
I do think the best solution is to make NeoService.shutdown() (either
by default or parameter/config) do the following:
1) block or throw exception for threads trying to start a new transaction
2) rollback all transactions that are not yet in committing state
3) wait for transactions that are
Hi Arin,
I just ran into this same problem. I am not sure about the scalability
of my solution, but I only had 20,000 users. It may scale, but I just
wanted you to know that I didn't test for it. My goal was to "step"
into the graph using a string based query, that is supplying a user's
name. An i
Correct, there are no guarantees on ordering. I thought this was
documented in the core API but it seems to have been left out. Thanks
for asking and pointing this out, we will add that piece of
information before the 1.0 release.
-Johan
On Thu, Dec 10, 2009 at 11:31 PM, Rick Bullotta
wrote:
> A
Hi Arin,
As Mattias mentioned you should use the IndexService together with
LuceneIndexService for this.
However could you please send the stacktrace for the NotFoundException?
Regarding your comments in the code here are some quick answers:
Use the reference node to connect the index or any ot
I saw this old thread and could just fill in with more information.
So, the IndexService.getNodes() now returns an IndexHits result, which
is an Iterable with a size() method on it. The size is given back from
lucene so there's no overhead in calling size() at all.
The LuceneIndexService will cre
I have a question on the best way to save an index in Python. I use a
dictionary to index nodes representing images that can contain
objects. Like this: {'image1.jpg': , ...}
To save this index, I tried using Pickle:
def save(self,filename):
# save indexes etc
f = open(filename, 'wb')
Hi Arin,
Maye we should document this more, but you shouldn't use that class.
Instead, take a look at the LuceneIndexService and see how that works
out for you.
2009/12/10 Arin Sarkissian :
> Hey guys,
>
> I'm pretty new to Neo4j, especially the indexing stuff.
>
> Here's my situation. I want to
On Fri, Dec 11, 2009 at 2:55 AM, Matt Johnston wrote:
> I haven't tried raphael, but I am working on creating a way to display the
> graph in SVG, which raphael uses. SVG could easily be used online (through
> raphael or svgweb) and also converted to PDF for offline usage.
>
> My approach is to wr
16 matches
Mail list logo