How to index all the properties while uploading them to the GAE datastore (Java)?
<p>I have a use case where I have a large amount of data that will be stored on the GAE datastore. Therefore, I need to index all the properties when they are inserted in the datastore and make the user wait until all the properties are indexed.</p>

<p>I have to perform different querying operations using projection queries for which it is important that all the properties must be indexed. (Referred from the documentation).</p>

<p>To make it clearer I need to perform queries like following:</p>

<ol>
<li><p>select city,gender from kind where city notequalto 'abc' and gender equalto 'xyz'</p></li>
<li><p>select gender,city,status from kind where gender notequalto 'xyz' city equalto 'abc' and status equalto 'pqr'</p></li>
<li><p>select gender from kind where city equalto 'abc' and city equalto 'pqr'</p></li>
</ol>

<p>I also need to fetch the distinct values from all the results that is returned.</p>

<p>I searched online, but did not find considerable documentation and support regarding this.</p>

<p>Please advise.</p>