You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2013/12/10 03:10:21 UTC

[lucy-commits] [3/3] git commit: refs/heads/master - Add specified blib directory to lucy_indexer subprocesses

Add specified blib directory to lucy_indexer subprocesses


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/545e3bbb
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/545e3bbb
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/545e3bbb

Branch: refs/heads/master
Commit: 545e3bbbed93b79d1cbf07465afc163c0bbe4769
Parents: 9ccb11c
Author: Kurt Starsinic <ks...@gmail.com>
Authored: Mon Dec 9 17:18:07 2013 -0500
Committer: Kurt Starsinic <ks...@gmail.com>
Committed: Mon Dec 9 17:18:07 2013 -0500

----------------------------------------------------------------------
 devel/benchmarks/README.txt                | 2 +-
 devel/benchmarks/indexers/lucy_indexer.plx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/545e3bbb/devel/benchmarks/README.txt
----------------------------------------------------------------------
diff --git a/devel/benchmarks/README.txt b/devel/benchmarks/README.txt
index 308102f..95a9dca 100755
--- a/devel/benchmarks/README.txt
+++ b/devel/benchmarks/README.txt
@@ -22,7 +22,7 @@ Each of the indexing apps takes four optional command line arguments:
   * The increment, or number of docs to add during each index writer instance.
   * Whether or not the main text should be stored and highlightable.
 
-    $ perl -Mblib indexers/lucy_indexer.plx \
+    $ perl -Mblib=../../perl indexers/lucy_indexer.plx \
     > --docs=1000 --reps=6 --increment=10 --store=1
 
     $ java -server -Xmx500M -XX:CompileThreshold=100 LuceneIndexer \

http://git-wip-us.apache.org/repos/asf/lucy/blob/545e3bbb/devel/benchmarks/indexers/lucy_indexer.plx
----------------------------------------------------------------------
diff --git a/devel/benchmarks/indexers/lucy_indexer.plx b/devel/benchmarks/indexers/lucy_indexer.plx
index a309e65..bdcc4c0 100755
--- a/devel/benchmarks/indexers/lucy_indexer.plx
+++ b/devel/benchmarks/indexers/lucy_indexer.plx
@@ -67,7 +67,7 @@ else {
         for (@INC) {
             next unless /\bblib\b/;
             # Propagate -Mblib to the child.
-            $command .= "-Mblib ";
+            $command .= "-Mblib=$_ ";
             last;
         }
         $command .= "$0 --build_index=1 ";