Ignore:
Timestamp:
2011-08-26T00:22:29+12:00 (13 years ago)
Author:
davidb
Message:
Reworking of code that detects existing running instance of Solr/Jetty server. This was due to Windows version of Perl not implementing '' on an open call. Code currently messy and needs a further tidy up.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/perllib/solrutil.pm

    r24453 r24483  
    6363sub open_post_pipe
    6464{
    65     my ($collect,$doc_tag_level) = @_;
     65    my ($collect,$ds_idx) = @_;
    6666
    6767    my $search_path = get_search_path();
     
    7575   
    7676    # Now run solr-post command
    77     my $core = $collect."-".lc($doc_tag_level);
     77    my $core = $collect."-".$ds_idx;
    7878    my $post_props = "-Durl=http://localhost:$jetty_port/solr/$core/update";
    7979    $post_props .= " -Ddata=stdin";
Note: See TracChangeset for help on using the changeset viewer.