You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/05/31 09:22:55 UTC

[05/51] ignite git commit: Fixed CacheClientBinaryQueryExample.

Fixed CacheClientBinaryQueryExample.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/e59d3890
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/e59d3890
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/e59d3890

Branch: refs/heads/ignite-5075-pds
Commit: e59d3890ce4d50b6627e731c13dad36ae05959b4
Parents: b673bdb
Author: devozerov <vo...@gridgain.com>
Authored: Sat May 27 21:05:26 2017 +0300
Committer: devozerov <vo...@gridgain.com>
Committed: Sat May 27 21:05:26 2017 +0300

----------------------------------------------------------------------
 .../examples/binary/datagrid/CacheClientBinaryQueryExample.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e59d3890/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
----------------------------------------------------------------------
diff --git a/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java b/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
index 11c00e9..c2d4964 100644
--- a/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
+++ b/examples/src/main/java/org/apache/ignite/examples/binary/datagrid/CacheClientBinaryQueryExample.java
@@ -149,9 +149,9 @@ public class CacheClientBinaryQueryExample {
         employeeEntity.setIndexes(Arrays.asList(
             new QueryIndex("name"),
             new QueryIndex("salary"),
-            new QueryIndex("zip"),
+            new QueryIndex("addr.zip"),
             new QueryIndex("organizationId"),
-            new QueryIndex("street", QueryIndexType.FULLTEXT)
+            new QueryIndex("addr.street", QueryIndexType.FULLTEXT)
         ));
 
         return employeeEntity;