From bfaeb347d7c64337308f38763ef697873964c3cd Mon Sep 17 00:00:00 2001 From: troantian2022 Date: Fri, 31 Mar 2023 22:33:24 -0400 Subject: [PATCH] Improve clarity and documentation for the shouldCollectVerboseDebugInfo() method. The comments clarify that verbose debug information is useful for queries with no results or very few results, and that a value of 6 or higher indicates that verbose debug information should be collected. T --- .../search/earlybird/search/AbstractResultsCollector.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/java/com/twitter/search/earlybird/search/AbstractResultsCollector.java b/src/java/com/twitter/search/earlybird/search/AbstractResultsCollector.java index d18fcdfda..049211853 100644 --- a/src/java/com/twitter/search/earlybird/search/AbstractResultsCollector.java +++ b/src/java/com/twitter/search/earlybird/search/AbstractResultsCollector.java @@ -622,8 +622,9 @@ public abstract class AbstractResultsCollector= 5; } - // Use this for per-result debug info. Useful for queries with no results - // or a very small number of results. + // Use this for per-result debug info. + // Useful for queries with no results or a very small number of results. + // A value of 6 or higher indicates that verbose debug information should be collected. protected boolean shouldCollectVerboseDebugInfo() { return requestDebugMode >= 6; }