You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2021/05/14 15:07:36 UTC

[lucene] branch main updated: lucene/benchmarks: correct micro-standard.alg. (#71)

This is an automated email from the ASF dual-hosted git repository.

mikemccand pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new 0d05b21  lucene/benchmarks: correct micro-standard.alg. (#71)
0d05b21 is described below

commit 0d05b2131442f34ed77f33a47a9518e885f9cbec
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Fri May 14 17:07:25 2021 +0200

    lucene/benchmarks: correct micro-standard.alg. (#71)
---
 lucene/benchmark/conf/micro-standard.alg                              | 4 ++--
 .../src/java/org/apache/lucene/benchmark/byTask/package-info.java     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lucene/benchmark/conf/micro-standard.alg b/lucene/benchmark/conf/micro-standard.alg
index 9c16166..ea875c1 100644
--- a/lucene/benchmark/conf/micro-standard.alg
+++ b/lucene/benchmark/conf/micro-standard.alg
@@ -30,8 +30,8 @@ doc.tokenized=true
 doc.term.vector=false
 log.step=500
 
-docs.dir=reuters-out
-#docs.dir=reuters-111
+work.dir=data
+docs.dir=reuters21578
 
 #content.source=org.apache.lucene.benchmark.byTask.feeds.SingleDocSource
 content.source=org.apache.lucene.benchmark.byTask.feeds.ReutersContentSource
diff --git a/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package-info.java b/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package-info.java
index 032aed4..e0eed11 100644
--- a/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package-info.java
+++ b/lucene/benchmark/src/java/org/apache/lucene/benchmark/byTask/package-info.java
@@ -76,10 +76,10 @@
  *
  * <h2>How to use</h2>
  *
- * <p>Easiest way to run a benchmarks is using the predefined ant task:
+ * <p>The easiest way to run a benchmarks is using gradle:
  *
  * <ul>
- *   <li>ant run-task <br>
+ *   <li>./gradlew -p lucene/benchmark getReuters run <br>
  *       - would run the <code>micro-standard.alg</code> "algorithm".
  *   <li>ant run-task -Dtask.alg=conf/compound-penalty.alg <br>
  *       - would run the <code>compound-penalty.alg</code> "algorithm".