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 page view then a new
NodeEventItem is created
ok - query code:
I'm trying to ask questions like "How many EventItems are under each Event?" or
"How many Events were there between Time X and Time Y?"
I've tried using the Traverser and also iterating through each relationship
individually?
(Does this help - or would you like to see the actual code)
T
On 11 Jan 2010, at 21:23, Peter Neubauer wrote:
> 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 +46 704 106975
> LinkedIn http://www.linkedin.com/in/neubauer
> Twitter http://twitter.com/peterneubauer
>
> http://www.neo4j.org - Relationships count.
> http://gremlin.tinkerpop.com - PageRank in 2 lines of code.
> http://www.linkedprocess.org - Computing at LinkedData scale.
>
>
>
> On Mon, Jan 11, 2010 at 10:18 PM, Tim Langley <[email protected]> wrote:
>> 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 fast (really impressed)
>> However - the querying is horribly slow
>>
>> For example: If I want to get the total number of relationships (or Nodes)
>> attached to a Node it's painfully slow
>>
>> Am I doing something stupid?
>>
>> I can post more code / details etc.. if required
>>
>> Thanks in advance
>> T
>> _______________________________________________
>> Neo mailing list
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
Tel: +44 7989 539363
Email: [email protected]
Web: http://www.linkedin.com/in/langleytim
Skype: LangleyTim
Twitter: @TimLangley
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user