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;
|
return requestDebugMode >= 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use this for per-result debug info. Useful for queries with no results
|
// Use this for per-result debug info.
|
||||||
// or a very small number of results.
|
// 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() {
|
protected boolean shouldCollectVerboseDebugInfo() {
|
||||||
return requestDebugMode >= 6;
|
return requestDebugMode >= 6;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue