mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-02 23:51:53 +01:00
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:
parent
ec83d01dca
commit
bfaeb347d7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user