I am getting below exception :
Exception in thread "main" com.google.cloud.datastore.DatastoreException: no matching index found. recommended index is:
- kind: cp_outbox
properties:
- name: format
- name: occasion_name
- name: sent_datetime
- name: status
- name: send_date
While running below query :
SELECT * FROM cp_outbox where send_date <= '2018-03-14' and sent_datetime is null and format='test1' and status=0 and occasion_name='test'
So I am using inequality operator in query and I have composite index for that :
But still I am getting exception.
By looking at error I think the ordering of properties is the issue. If this is true then why this ordering is important.
Thanks in Advance.