Compare commits

...

3 Commits

Author SHA1 Message Date
Tron Tian
7c1b15762c
Merge fc16083097 into fb54d8b549 2023-05-22 17:40:32 -05:00
troantian2022
fc16083097 remove extra space in comments
remove extra space in comments
2023-03-31 22:39:52 -04:00
troantian2022
bfaeb347d7 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
2023-03-31 22:33:24 -04:00
2 changed files with 4 additions and 3 deletions

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;
}