mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-02 23:51:53 +01:00
Merge fc16083097
into 72eda9a24f
This commit is contained in:
commit
c8381663e6
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,7 @@ public class AntiGamingFilter {
|
|||||||
fromUserIDs =
|
fromUserIDs =
|
||||||
reader.getNumericDocValues(EarlybirdFieldConstant.FROM_USER_ID_CSF.getFieldName());
|
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;
|
segmentUserIDWhitelist = null;
|
||||||
|
|
||||||
SortedSet<Integer> sortedFromUserDocIds = new TreeSet<>();
|
SortedSet<Integer> sortedFromUserDocIds = new TreeSet<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user