msokolov commented on issue #15662:
URL: https://github.com/apache/lucene/issues/15662#issuecomment-3862328578
I ran `python3 src/python/example.py --source-data wikimedium_all` with
baseline the last known good version and candidate the current main, and there
was little difference -- sharing the same index.
I required this diff to get things to work with my local setup:
```
diff --git a/src/main/perf/Indexer.java b/src/main/perf/Indexer.java
index 67f42bb6..f00a6a78 100644
--- a/src/main/perf/Indexer.java
+++ b/src/main/perf/Indexer.java
@@ -524,7 +524,7 @@ public final class Indexer {
iwc.setUseCompoundFile(useCFS);
iwc.setMergeScheduler(getMergeScheduler(indexingFailed, useCMS,
maxConcurrentMerges, ioThrottle));
- iwc.getCodec().compoundFormat().setShouldUseCompoundFile(useCFS);
+ //iwc.getCodec().compoundFormat().setShouldUseCompoundFile(useCFS);
iwc.setMergePolicy(getMergePolicy(mergePolicy, useBP));
// Keep all commit points:
diff --git a/src/main/perf/NRTPerfTest.java b/src/main/perf/NRTPerfTest.java
index 33ec9e1e..51f74a9d 100644
--- a/src/main/perf/NRTPerfTest.java
+++ b/src/main/perf/NRTPerfTest.java
@@ -327,7 +327,7 @@ public class NRTPerfTest {
*/
TieredMergePolicy tmp = new TieredMergePolicy();
- conf.getCodec().compoundFormat().setShouldUseCompoundFile(false);
+ //conf.getCodec().compoundFormat().setShouldUseCompoundFile(false);
tmp.setMaxMergedSegmentMB(1000000.0);
//tmp.setReclaimDeletesWeight(3.0);
//tmp.setMaxMergedSegmentMB(7000.0);
diff --git a/src/main/perf/SearchPerfTest.java
b/src/main/perf/SearchPerfTest.java
index a7cf79b1..d6716fc2 100755
--- a/src/main/perf/SearchPerfTest.java
+++ b/src/main/perf/SearchPerfTest.java
@@ -428,7 +428,7 @@ public class SearchPerfTest {
iwc.setIndexCommit(PerfUtils.findCommitPoint(commit, dir));
}
- iwc.getCodec().compoundFormat().setShouldUseCompoundFile(useCFS);
+ //iwc.getCodec().compoundFormat().setShouldUseCompoundFile(useCFS);
//((TieredMergePolicy)
iwc.getMergePolicy()).setMaxMergedSegmentMB(1024);
//((TieredMergePolicy)
iwc.getMergePolicy()).setReclaimDeletesWeight(3.0);
//((TieredMergePolicy) iwc.getMergePolicy()).setMaxMergeAtOnce(4);
diff --git a/src/python/constants.py b/src/python/constants.py
index 192e674b..60a6eecd 100644
--- a/src/python/constants.py
+++ b/src/python/constants.py
@@ -19,6 +19,7 @@ import multiprocessing
import os
from localconstants import BASE_DIR
+from localconstants import BENCH_BASE_DIR
# NOTE: you must have a localconstants.py that, minimally, defines
# BASE_DIR; all your checkouts should be under BASE_DIR, ie
```
--
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]