GitHub user junphine opened a pull request:

    https://github.com/apache/ignite/pull/4791

    support for config fulltext index in queryEntities

    <property name="queryEntities">
                                        <list>
                                                <bean 
class="org.apache.ignite.cache.QueryEntity">
                                                        <property 
name="keyType" value="java.lang.Long"/>
                                                        <property 
name="valueType" value="org.apache.ignite.examples.model.Person"/>
    
                                                        <property name="fields">
                                                                <map>
                                                                        <entry 
key="id" value="java.lang.Long"/>
                                                                        <entry 
key="orgId" value="java.lang.Long"/>
                                                                        <entry 
key="firstName" value="java.lang.String"/>
                                                                        <entry 
key="lastName" value="java.lang.String"/>
                                                                        <entry 
key="resume" value="java.lang.String"/>
                                                                        <entry 
key="salary" value="java.lang.Double"/>
                                                                </map>
                                                        </property>
    
                                                        <property 
name="indexes">
                                                                <list>
                                                                        <bean 
class="org.apache.ignite.cache.QueryIndex">
                                                                                
<constructor-arg value="id"/>
                                                                        </bean>
                                                                        <bean 
class="org.apache.ignite.cache.QueryIndex">
                                                                                
<constructor-arg value="orgId"/>
                                                                        </bean>
                                                                        <bean 
class="org.apache.ignite.cache.QueryIndex">
                                                                                
<constructor-arg value="salary"/>
                                                                        </bean>
                                                                        <bean 
class="org.apache.ignite.cache.FullTextQueryIndex">
                                                                                
<constructor-arg value="resume"/>
                                                                        </bean>
                                                                </list>
                                                        </property>
                                                </bean>
                                        </list>
                                </property>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/junphine/ignite master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/4791.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4791
    
----
commit ea5769316fd53e058e8414bcbf3544df877be067
Author: junphine <junphine@...>
Date:   2018-09-19T11:54:19Z

    support for config fulltext index in queryEntities

----


---

Reply via email to