Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Suraj Singh <surajrider@gmail.com>
  • Loading branch information
dreamer-89 committed Aug 4, 2023
1 parent 37b474a commit 664e1af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private void waitForSearchableDocs(String index, int shardCount, int replicaCoun
Response segrepStatsResponse = client().performRequest(segrepStatsRequest);
List<String> responseList = Streams.readAllLines(segrepStatsResponse.getEntity().getContent());
logger.info("--> _cat/segments response\n {}", responseList.toString().replace(',', '\n'));

// Filter response for rows with zero doc count
List<String> filteredList = new ArrayList<>();
for(String row: responseList) {
String count = row.split(" +")[4];
Expand Down

0 comments on commit 664e1af

Please sign in to comment.