pavlukhin commented on a change in pull request #6917: IGNITE-12189 
Implementation correct limit for TextQuery
URL: https://github.com/apache/ignite/pull/6917#discussion_r341479699
 
 

 ##########
 File path: 
modules/indexing/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheFullTextQuerySelfTest.java
 ##########
 @@ -59,6 +63,31 @@
     /** Cache name */
     private static final String PERSON_CACHE = "Person";
 
+    /** Limitation to query response size */
+    private static final int QUERY_LIMIT = 5;
+
+    /** Concurrent threads number */
+    private static final int N_THREADS = 20;
+
+    /**
+     * Container for expected values and all available entries
+     */
+    private static final class TestPair {
+        /** */
+        public final Set<Integer> expected;
+
+        /** */
+        public final List<Cache.Entry<Integer, ?>> all = new ArrayList<>();
+
+        /** Constructor
 
 Review comment:
   Minor. More common formatting is
   ```
           /**
            * Constructor
            *
            * @param exp expected values set.
            */
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to