ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] pavlukhin commented on a change in pull request #6917: IGNITE-12189 Implementation correct limit for TextQuery
Date Thu, 24 Oct 2019 09:09:28 GMT
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_r338463231
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/cache/query/TextQuery.java
 ##########
 @@ -79,6 +82,19 @@ public TextQuery(String type, String txt) {
         setText(txt);
     }
 
+    /**
+     * Constructs query for the given search string.
+     *
+     * @param type Type.
+     * @param txt Search string.
+     * @param limit Limits response records count. If 0 or less, the limit considered to
be Integer.MAX_VALUE, that is virtually no limit.
+     */
+    public TextQuery(String type, String txt, int limit) {
 
 Review comment:
   Makes sense. Thanks for explanation.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message