datastore-indexesにキーを追加するためのいくつかの制限がありますか?
Test.javaがあります
@EntityBean(entityGroup="TestRoot", entityGroupKeyName="TestList")
public class Test implements Serializable, JSONConvertible {
@Property(key=true,indexable=true)
private String keyName;
@Property(indexable=true)
private String userCode;
@Property(indexable=true)
private String name;
...
そして私のdatastore-indexes.xmlで:
<datastore-index kind="Flight" ancestor="true">
<property name="keyName" direction="desc"/>
</datastore-index>
<datastore-index kind="Flight" ancestor="true" source="manual">
<property name="keyName" direction="asc"/>
</datastore-index>
<datastore-index kind="Flight" ancestor="true">
<property name="userCode" direction="desc"/>
</datastore-index>
<datastore-index kind="Flight" ancestor="true" source="manual">
<property name="userCode" direction="asc"/>
</datastore-index>
<datastore-index kind="Flight" ancestor="true">
<property name="name" direction="desc"/>
</datastore-index>
<datastore-index kind="Flight" ancestor="true" source="manual">
<property name="name" direction="asc"/>
</datastore-index>
すべてのインデックスがサービスステータスになっています
テストリストを注文すると、「userCode」と「name」では正常に機能しますが、「keyName」では機能しません。