问题
How do I query an index on an embedded list of strings. I tried the following, but it did not return any results.
select from index:Customers.cities WHERE key = 'delhi'
But querying the class directly below worked and it used the same index which I tried above.
select from Customers WHERE cities = 'delhi'
"Cities" is an embedded list of string in the class Customers. Customers.cities is a NOTUNQIUE index on cities.
来源:https://stackoverflow.com/questions/32471152/querying-an-orient-db-index-on-embedded-list