iceguo, There could be several reasons: 1) Please, also make sure that you have ignite-indexing in class path. 2) It may be a bug in ignitevisorcmd too. :)
It is possible to prepare small project that will reproduce issue in order to debug this? On Thu, Oct 22, 2015 at 5:28 PM, iceguo <[email protected]> wrote: > I want to transfer data from MySQL to ignite. > First I use script ignite-schema-import.sh to generate Java domain model > POJOs, > > then add "@QuerySqlField" annotations to the field that needed to be > indexed > in the POJO and use ”CacheConfiguration.setIndexedTypes(MyKey.class, > MyValue.class)“ to tell Ignite which types should be indexed. > > Finally, I fill the fields of the POJO and put it to the Ignite. > > But when I use "ignitevisorcmd" to view the Ignite, only finding ”Query > Indexed Types <n/a>“, it seems that INDEX does not work. > > I want to know how to make INDEX work. > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/How-to-configure-INDEX-from-code-tp1671.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Alexey Kuznetsov GridGain Systems www.gridgain.com
