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
This commit is contained in:
troantian2022 2023-03-31 22:33:24 -04:00
parent ec83d01dca
commit bfaeb347d7

View File

@ -622,8 +622,9 @@ public abstract class AbstractResultsCollector<R extends SearchRequestInfo,
return requestDebugMode >= 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;
}