Hi Sotiris,
could you publish test case  so we will look on it and optimize/fix after
we finish https://github.com/orientechnologies/orientdb/issues/1604 .


On Mon, Jan 13, 2014 at 6:19 PM, Sotiris Beis <[email protected]> wrote:

> Any help there?
>
> Τη Τετάρτη, 18 Δεκεμβρίου 2013 11:35:39 π.μ. UTC+2, ο χρήστης Sotiris Beis
> έγραψε:
>
>> I am trying to find the shortest path between two nodes. Currently I am
>> using the following code
>>
>> orientGraph.getRawGraph().command(new OSQLSynchQuery<Object>( "select
>> shortestPath("+v1.getId()+","+v2.getId()+",'BOTH')"));
>>
>> My problem is how can I print the size of the path. I tried this
>>
>> Iterable<Object> spath = orientGraph.getRawGraph().command(new
>> OSQLSynchQuery<Object>("select shortestPath("+v1.getId()+","+v2.getId()+
>> ",'BOTH')")).execute();
>>
>> But this needs a lot of time to execute (around 21 minutes). Is this the
>> proper way to find the shorts path with oriented?
>>
>> I have a 2.3 Ghz CPU (i5), 4GB RAM and 320GB disk. I running on Macintosh
>> OSX Mavericks (10.9) and i use orientdb-1.6.2. Also I use plocal url.
>>
>> Thanks in advance,
>>
>> Sotiris
>>
>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Best regards,
Andrey Lomakin.

Orient Technologies
the Company behind OrientDB

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to