add
<datastore-index kind="AmazonProduct" ancestor="true" source="auto">
        <property name="barcode" direction="asc"/>
    </datastore-index>