Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-07 Thread Gwendal Mousset
I'm very busy at the moment, but, I hope have more time to contribute to neo4j/SDN later :-) Gwendal On Thursday, March 6, 2014 4:36:15 PM UTC+1, Michael Hunger wrote: > > Yep, > > my question was how would you imagine it to be configured. > > Michael > > Am 06.03.2014 um 16:35 schrieb Gwendal M

Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Wojtek Wysocki
Well as I said I would hope label data came along with node data (problem solved). Is there a reason why this is not happening? Some architecture restraints maybe? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and s

Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Michael Hunger
Sorry for that, i like them too If you have any other idea what we can do here let me know Sent from mobile device Am 06.03.2014 um 18:37 schrieb Wojtek Wysocki : > Thanks for the information Michael > > That is really unfortunate. I hope this functionality will be introduced > later. I real

Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Wojtek Wysocki
Thanks for the information Michael That is really unfortunate. I hope this functionality will be introduced later. I really like the concept of labels. Wojtek On Thursday, March 6, 2014 6:25:18 PM UTC+1, Michael Hunger wrote: > > Hi Wojtek, > > unfortunately labels are not returned from any of

Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Michael Hunger
Hi Wojtek, unfortunately labels are not returned from any of the endpoints with the nodes automatically, so they have to be fetched separately. Sorry for that. You can return to the Indexed type-representation strategy with using this config: Am 06.03

Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Wojtek Wysocki
Hi I am the author of mentioned stackoverflow question (and BTW new to this group) I understand the need for labels to be fetched but how it is handled now is just a show stopper for me. We are talking about tens of additional REST requests which increase method run time significantly. some q

Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Michael Hunger
Yep, my question was how would you imagine it to be configured. Michael Am 06.03.2014 um 16:35 schrieb Gwendal Mousset : > Thanks Michael, > > I understand the need to check the label directly on db. I hadn't think about > inheritance. > Do you think this check could became optional (with co

Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Gwendal Mousset
Thanks Michael, I understand the need to check the label directly on db. I hadn't think about inheritance. Do you think this check could became optional (with configuration) to choose between fully operational inheritance and better performances ? Gwendal On Thursday, March 6, 2014 4:13:51 P

Re: [Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Michael Hunger
Imagine you have a class hierarchy like Person and Developer And you have a person repo but the nodes in the db are actually developers. Then you would want to get the correct instances back (Developer) but requested target type is Person How would you imagine to configure it so that it doesn't

[Neo4j] SDN: Expensive get node's labels requests

2014-03-06 Thread Gwendal Mousset
Hi everyone, I use neo4j 2.0.1 with rest api. To obtain better performances in my webapp, I refactor my code by using @QueryResult objects and do more "big" requests instead of many small requests. But the logs show me than each time I get an object from the query result, a request is sent: