You're setting up an infinite loop by adding a shards parameter on the
default search handler.
Create a new search handler and put your default under that.

-Yonik
http://www.lucidimagination.com


On Thu, Dec 17, 2009 at 7:47 AM, pcurila <p...@eea.sk> wrote:
>
> I tried it out. But there is another issue I can not cope with.
> I have two shards:
> localhost:8983/solr
> localhost:8984/solr
>
> If I write this into the defaults section
> <str name="shards">localhost:8983/solr,localhost:8984/solr</str>
> and than I issue a query on localhost:8983, solr do not respond.
>
> If I write this
> <str name="shards">localhost:8984/solr</str>
> it works but there is just half of the index.
>
>
>
>
> Noble Paul നോബിള്‍  नोब्ळ्-2 wrote:
>>
>> yes.
>> put it under the "defaults" section in your standard requesthandler.
>>
>> On Thu, Dec 17, 2009 at 5:22 PM, pcurila <p...@eea.sk> wrote:
>>>
>>> Hello, is there any way to configure shards parameter in solrconfig.xml?
>>> So I
>>> do not need provide it in the url. Thanks Peter
>>> --
>>> View this message in context:
>>> http://old.nabble.com/shards-parameter-tp26826908p26826908.html
>>> Sent from the Solr - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
>> --
>> -----------------------------------------------------
>> Noble Paul | Systems Architect| AOL | http://aol.com
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/shards-parameter-tp26826908p26827527.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>

Reply via email to