lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "omer aygun (JIRA)" <>
Subject [jira] [Commented] (SOLR-11284) Distributed searches with the shards parameter does not work with collection alias
Date Fri, 25 Aug 2017 06:54:00 GMT


omer aygun commented on SOLR-11284:

Sorry for inconvenience, i searched the bug list and did not find any related so decided to
create an issue here :( 

Here are the details : 

I have collections according to year for my data which are divided into shards according to
months. (e.g collection name col_2013, shards -> 201301,201302,...,201312 / col_2014 ->
201401, 201402, 201403 etc.)

For all collections i created an alias to dynamically manage my data. (e.g col_arc -> colr_2013,
col_2014, col_2015, col_2016)

When i query my data with adding "shards" parameter for routing requests to specific shards
(since i have lots of shards each contain huge amount of data) solr raises the error mentioned
above. If alias points to only 1 collection, it behaves as it is expected. (no excepiton raised,
the request is routed to given shards)


    "msg":"no servers hosting shard: ",

> Distributed searches with the shards parameter does not work with collection alias
> ----------------------------------------------------------------------------------
>                 Key: SOLR-11284
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>    Affects Versions: 6.1
>            Reporter: omer aygun
> When "shards" parameter is used for a collection alias solr gives an error  "msg":"no
servers hosting shard: " even if the shard is present. If i use the alias for only 1 collection
it works as it expected, but when i add extra collection to the alias it does not work gives
the error above. Solr version is 6.1.0.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message