Querying an orient-db index on embedded list

房东的猫 提交于 2020-01-07 05:02:18

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!