我的datastore-indexes.xml看起来像这样:
<datastore-index kind="Book" ancestor="false" source="auto">
<property name="^i" direction="asc"/>
<property name="nurInRange2" direction="asc"/>
<property name="firstModificationDate" direction="desc"/>
</datastore-index>
数据存储管理控制台实际上在数据/数据存储索引下显示:
^i ▲ , nurInRange2 ▲ , firstModificationDate ▼ : serving
但是,当我转到数据存储区查看器并执行by gql
查询时:
SELECT * FROM Book where nurInRange2 = True order by firstModificationDate DESC
我收到以下回复:
no matching index found.
The suggested index for this query is:
- kind: Book
properties:
- name: nurInRange5
- name: firstModificationDate
direction: desc
有什么明显的东西我不见了吗?我的指数制定有什么问题吗?