Changeset 24483 for gs3-extensions/solr/trunk/src/bin/script/solr_passes.pl
- Timestamp:
- 2011-08-26T00:22:29+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/solr/trunk/src/bin/script/solr_passes.pl
r24453 r24483 58 58 sub open_java_solr 59 59 { 60 my ($collect, $d oc_tag_level,$full_builddir,$indexdir,$removeold) = @_;60 my ($collect, $ds_idx,$full_builddir,$indexdir,$removeold) = @_; 61 61 62 62 # if removeold set, then delete the curring $full_builddir … … 74 74 75 75 # Now start up the solr-post command 76 &solrutil::open_post_pipe($collect,$d oc_tag_level);76 &solrutil::open_post_pipe($collect,$ds_idx); 77 77 } 78 78 … … 224 224 225 225 if ($filtered_argc < 5) { 226 print STDERR "Usage: solr_passes.pl [-removeold|-verbosity num] collect \"text\"|\"index\" doc-tag-levelbuild-dir index-name\n";226 print STDERR "Usage: solr_passes.pl [-removeold|-verbosity num] collect \"text\"|\"index\" {d|s}idx build-dir index-name\n"; 227 227 exit 1; 228 228 } … … 230 230 my $collect = $filtered_argv[0]; 231 231 my $mode = $filtered_argv[1]; 232 my $d oc_tag_level= $filtered_argv[2];232 my $ds_idx = $filtered_argv[2]; 233 233 my $full_builddir = $filtered_argv[3]; 234 234 my $indexdir = $filtered_argv[4]; … … 237 237 # documents, not if we are just storing the text 238 238 if ($mode eq "index") { 239 open_java_solr($collect, $d oc_tag_level, $full_builddir, $indexdir, $removeold);239 open_java_solr($collect, $ds_idx, $full_builddir, $indexdir, $removeold); 240 240 } 241 241
Note:
See TracChangeset
for help on using the changeset viewer.