[ 
https://issues.apache.org/jira/browse/SOLR-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bertrand Delacretaz closed SOLR-187.
------------------------------------

    Resolution: Duplicate

Duplicate, closing

> abc, abo, commit, optimize, and readercycle scripts have erroneous curl 
> statements for multi-instance environments 
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-187
>                 URL: https://issues.apache.org/jira/browse/SOLR-187
>             Project: Solr
>          Issue Type: Bug
>          Components: replication
>         Environment: Gentoo, Solr 1.1
>            Reporter: Graham Stead
>            Priority: Minor
>
> The current curl statements look like this:
> abc: rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d 
> "<commit/>"`
> abo: rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d 
> "<optimize/>"`
> commit: rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d 
> "<commit/>"`
> optimize: rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d 
> "<optimize/>"`
> readercycle: rs=`curl http://${solr_hostname}:${solr_port}/solr/update -s -d 
> "<commit/>"`
> To ensure correct operation in multi-instance environments, replace /solr/ 
> with /${webapp_name}/ like this:
> abc: rs=`curl http://${solr_hostname}:${solr_port}/${webapp_name}/update -s 
> -d "<commit/>"`
> abo: rs=`curl http://${solr_hostname}:${solr_port}/${webapp_name}/update -s 
> -d "<optimize/>"`
> commit: rs=`curl http://${solr_hostname}:${solr_port}/${webapp_name}/update 
> -s -d "<commit/>"`
> optimize: rs=`curl http://${solr_hostname}:${solr_port}/${webapp_name}/update 
> -s -d "<optimize/>"`
> readercycle: rs=`curl 
> http://${solr_hostname}:${solr_port}/${webapp_name}/update -s -d "<commit/>"`
> I use the modified scripts in environments with 3 Solr instances and have no 
> problems.
> This bug does not affect single instances running with the default path, only 
> multiple instances with different paths.
> best regards,
> -Graham

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to