You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yago Riveiro (JIRA)" <ji...@apache.org> on 2013/03/20 12:01:17 UTC
[jira] [Comment Edited] (SOLR-4584) Request proxy mechanism not
work if rows param is equal to zero
[ https://issues.apache.org/jira/browse/SOLR-4584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13607492#comment-13607492 ]
Yago Riveiro edited comment on SOLR-4584 at 3/20/13 11:00 AM:
--------------------------------------------------------------
I created the core using core API:
{code}
curl http://192.168.20.48/solr/admin/cores?action=CREATE&name=ST-038412DCC2_0612&collection=ST-038412DCC2_0612&shard=00&collection.configName=statisticsBucket-regular.
{code}
{code}
"ST-038412DCC2_0612":{
"shards":{"00":{
"state":"active",
"replicas":{"192.168.20.48:8983_solr_ST-038412DCC2_0612":{
"shard":"00",
"state":"active",
"core":"ST-038412DCC2_0612",
"collection":"ST-038412DCC2_0612",
"node_name":"192.168.20.48:8983_solr",
"base_url":"http://192.168.20.48:8983/solr",
"leader":"true"}}}},
"router":"implicit"},
{code}
The solr version is:
{code}
solr-spec 4.2.0.2013.03.06.22.32.13
solr-impl 4.2.0 1453694 - rmuir - 2013-03-06 22:32:13
{code}
was (Author: yriveiro):
I created the core using core API:
{code}
curl http://192.168.20.47/solr/admin/cores?action=CREATE&name=ST-038412DCC2_0612&collection=ST-038412DCC2_0612&shard=00&collection.configName=statisticsBucket-regular.
{code}
{code}
"ST-038412DCC2_0612":{
"shards":{"00":{
"state":"active",
"replicas":{"192.168.20.47:8983_solr_ST-038412DCC2_0612":{
"shard":"00",
"state":"active",
"core":"ST-038412DCC2_0612",
"collection":"ST-038412DCC2_0612",
"node_name":"192.168.20.47:8983_solr",
"base_url":"http://192.168.20.47:8983/solr",
"leader":"true"}}}},
"router":"implicit"},
{code}
The solr version is:
{code}
solr-spec 4.2.0.2013.03.06.22.32.13
solr-impl 4.2.0 1453694 - rmuir - 2013-03-06 22:32:13
{code}
> Request proxy mechanism not work if rows param is equal to zero
> ---------------------------------------------------------------
>
> Key: SOLR-4584
> URL: https://issues.apache.org/jira/browse/SOLR-4584
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.2
> Environment: Linux Centos 6, Tomcat 7
> Reporter: Yago Riveiro
> Assignee: Mark Miller
> Fix For: 4.3, 5.0, 4.2.1
>
> Attachments: Screen Shot 00.png, Screen Shot 01.png, Screen Shot 02.png, Screen Shot 03.png
>
>
> If I try to do a request like:
> http://192.168.20.48:8983/solr/ST-3A856BBCA3_12/select?q=*:*&rows=0
> The request fail. The solr UI logging has this error:
> {code:java}
> null:org.apache.solr.common.SolrException: Error trying to proxy request for url: http://192.168.20.47:8983/solr/ST-3A856BBCA3_12/select
> {code}
> Chrome says:
> This webpage is not available
> The webpage at http://192.168.20.47:8983/solr/ST-038412DCC2_0612/query?q=id:*&rows=0 might be temporarily down or it may have moved permanently to a new web address.
> Error 321 (net::ERR_INVALID_CHUNKED_ENCODING): Unknown error.
> If the param rows is set to rows=4 or superior the query return data as expected.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org