Thanks!

That's not bad. At some point, if we have many more edges in the bag, the 
intersect function will be slow? So that query is very sensitive about data 
quantity?
(The entire dataset is at least 240x more data!)

Is it possible to use an index to speed things up?

Am Donnerstag, 6. August 2015 16:04:34 UTC+2 schrieb SavioL:
>
>
> I'm back,
> we tried to reconstruct the query, try this if that is what you need ..
>
>
> back vertex Abstract that are connected to NormalizedNamedEntity with a 
> uuid = "DBA002026" and uuid = "NO000357"
> select expand($c) 
>              let $a = (select expand(in('uima_annotated')) from (select 
> from NormalizedNamedEntity   where uuid = "DBA002026")), 
>              $b = (select expand(in('uima_annotated')) from (select from 
> NormalizedNamedEntity   where uuid = "NO000357") ), 
>              $c = intersect( $a, $b) 
>
>
>  this is the result (elapse time for query: 0.441 sec)   
>
> <https://lh3.googleusercontent.com/-qlf1TZBPZ0s/VcNoIfxfM5I/AAAAAAAAAGI/Y_GcZl0S3Lk/s1600/Schermata%2Bda%2B2015-08-06%2B15%253A55%253A34.png>
>         
>
>
>
>
>
>
>
>
>
>
> this is the result you were looking for?
>
> Regards,
> Savio L.
>
>

-- 

--- 
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/d/optout.

Reply via email to