cpoerschke commented on code in PR #2595:
URL: https://github.com/apache/solr/pull/2595#discussion_r1692900328
##########
solr/core/src/test/org/apache/solr/search/TestCpuAllowedLimit.java:
##########
@@ -61,7 +65,12 @@ private static Path createConfigSet() throws Exception {
}
@BeforeClass
- public static void setup() throws Exception {
+ public static void setupClass() throws Exception {
+ // Using NoMergePolicy and 100 commits we should get 100 segments (across
all shards).
+ // At this point of writing MAX_SEGMENTS_PER_SLICE in lucene is 5, so we
should be
Review Comment:
(not yet merged) https://github.com/apache/lucene/pull/13508 includes making
Lucene's `IndexSearcher.MAX_SEGMENTS_PER_SLICE` public.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]