You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Alexey Kuznetsov <ak...@gridgain.com> on 2015/10/19 12:28:22 UTC

Re: Ignite Cache Key is indexed by default?

diopek,

>>My Question is; cache key (KeyClass) is default indexed? or should be
specified as indexedTypes in cache configuration as the following? 

You should specify indexed types in configuration like this:
<property name="indexedTypes">
  <list>
     <value>com.domain.KeyClass</value>
     <value>com.domain.Value</value> 
  </list>
</property>

Also, make sure that "ignite-indexing" is present in classpath (see /libs or
your pom.xml).

P.S.
  Please also subscribe to user list in order to other users to be notified
about your questions?

----

Alexey Kuznetsov




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Ignite-Cache-Key-is-indexed-by-default-tp1643p1644.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.