I have User and Post classes and Posts edge class
this works
*SELECT FROM (SELECT EXPAND(OUT('Posts')) FROM User WHERE username='marco')
WHERE body LIKE '%China%'*
this works
*SELECT FROM Post WHERE body LUCENE 'China'*
this *doesn't* work
*SELECT FROM (SELECT EXPAND(OUT('Posts')) FROM User WHERE username='marco')
WHERE body LUCENE 'China'*
error message is:
*com.orientechnologies.orient.core.exception.OQueryParsingException: Error
on parsing command at position #0: LUCENE condition is allowed only when
query target is a Class or an Index*
how can I write differently this query?
--
---
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.