On Friday, August 28, 2015 at 3:14:08 AM UTC+2, MV-dev1 wrote:
>
>
> I wanted to find everything that has both words.  Ideally, I'm asking this 
> more simple question but *my real query will be to find all the books 
> with a large set of attributes *that I figured I'd go through the graph 
> in and out to find.
>
> Maybe that's a more relevant question?
>
> *HOW TO MOST EFFICIENTLY FIND ALL THE VERTICES IN SOME SET THAT ARE 
> POINTED TO BY A LIST OF OTHER VERTICES?*
>
>
>>

My suggestion:

select expand( $c )  let $a = ( select expand(in('HasContent')) from Word 
where item = 'Quartal' ), $b = ( select expand(in('HasContent')) from Word 
where item = 'Land' ), $c= Intersect($a,$b) 
 

-- 

--- 
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