Hi Rick,
You can try following:
<bean
class="org.apache.ignite.cache.QueryIndex">
<constructor-arg>
<map>
<entry key="createdTime" value="false"/>
<entry key="processedTime" value="true"/>
</map>
</constructor-arg>
<constructor-arg value="SORTED"/>
</bean>
вт, 25 июн. 2019 г. в 17:54, rick_tem <[email protected]>:
>
> Hi,
> With the below index definition, is there a way to sort createdTime
> descending and processedTime ascending? What would the definition look
> like?
>
> Thanks!
> Rick
>
> <bean
> class="org.apache.ignite.cache.QueryIndex">
> <constructor-arg>
> <list>
>
> <value>recId</value>
>
> <value>createdTime</value>
>
> <value>processedTime</value>
>
> <value>partitionId</value>
> </list>
> </constructor-arg>
> <constructor-arg
> value="SORTED"/>
> </bean>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
--
Best regards,
Ivan Pavlukhin
