You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by tomk <rr...@gmail.com> on 2016/04/16 20:14:39 UTC

Set indexing type in xml files

Hello,
Tell me please, how to enable setIndexedTypes in xml file ?
I cant find answer to this question.






--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Set-indexing-type-in-xml-files-tp4254.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Set indexing type in xml files

Posted by Vladimir Ozerov <vo...@gridgain.com>.
Hi,

Please find the example below:

<bean class="org.apache.ignite.configuration.CacheConfiguration">
    ...
    <property name="indexedTypes">
        <list>
            <value>java.lang.Integer</value>
            <value>org.my.package.MyObject</value>
        </list>
    </property>
...
</bean>

Vladimir.

On Sat, Apr 16, 2016 at 9:14 PM, tomk <rr...@gmail.com> wrote:

> Hello,
> Tell me please, how to enable setIndexedTypes in xml file ?
> I cant find answer to this question.
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Set-indexing-type-in-xml-files-tp4254.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>