Hi Andrè, I'm afraid it's very hard to fix. To execute the query on an index, the target has to be already indexed, and the result of a subquery is a dynamic result, so it cannot be indexed in advance.
The problem with LUCENE operator is someway more complex: while = or >, < operators can be calculated in Java, LUCENE operator is not a basic operation (eg. it depends on how the Lucene index is configured), so it cannot be evaluated against non-indexed values. We will try to fix it in next releases, but probably some important limitations will remain Luigi 2015-07-15 14:53 GMT+02:00 André Marques <[email protected]>: > Hi Giulia, > > Thanks for the reply, I hope this will be fixed soon. > > > On Wednesday, July 15, 2015 at 5:17:00 AM UTC-3, Giulia Brignoli wrote: >> >> Hi Andrè, >> >> Look this: >> https://github.com/orientechnologies/orientdb/issues/3362 >> >> According to what they say, indexes cannot be used when the target is a >> subquery. >> >> Bye, >> Giulia >> >> >> -- > > --- > 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. > -- --- 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.
