If I am trying to execute the following code block and my total records is greater than 50K it limits me to the 50K so is there a modified example of this through an offset or pagination technique someone can provide that will allow me to iterate through the full result set beyond the 50k oneshotSearchArgs.put("earliest_time", yesterday+"T05:00:00.000" ); oneshotSearchArgs.put("latest_time", today+"T05:00:00.000" ); oneshotSearchArgs.put("count", 0); String oneshotSearchQuery = "search " + searchString; // The search results are returned directly InputStream results_oneshot = service.oneshotSearch(oneshotSearchQuery, oneshotSearchArgs); // Get the search results and use the built-in XML parser to display them ResultsReaderXml resultsReader = new ResultsReaderXml(results_oneshot); HashMap<String, String> event; int eventsMatched = 0; String log = null; ArrayList<String> list = new ArrayList<>(); while ((event = resultsReader.getNextEvent()) != null) { }
... View more