This commit is contained in:
Tron Tian 2023-07-17 21:41:40 -05:00 committed by GitHub
commit c8381663e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}

View File

@ -157,7 +157,7 @@ public class AntiGamingFilter {
fromUserIDs =
reader.getNumericDocValues(EarlybirdFieldConstant.FROM_USER_ID_CSF.getFieldName());
// fill the id whitelist for the current segment. initialize lazily.
// fill the id whitelist for the current segment. initialize lazily.
segmentUserIDWhitelist = null;
SortedSet<Integer> sortedFromUserDocIds = new TreeSet<>();