<solr persistent="false">

  <!--
  adminPath: RequestHandler path to manage cores. 
    If 'null' (or absent), cores will not be manageable via REST
  -->
  <cores adminPath="/admin/cores">
    <bool name="abortOnConfigurationError">false</bool>
    <core name="core0" instanceDir="core0" />
    <core name="core1" instanceDir="core1" />
  </cores>
</solr>

djain101 wrote:
> Thanks !!! Can you please give an example to put it in solr.xml? How is the
> xml structure look like for enabling this property? 
>
>
> markrmiller wrote:
>   
>> Yes - try adding it to solr.xml - thats where the CoreContainer looks
>> for it.
>>
>> -- 
>> - Mark
>>
>> http://www.lucidimagination.com
>>
>>
>>
>> djain101 wrote:
>>     
>>> Any help is much appreciated.
>>>
>>> Thanks,
>>> Dharmveer
>>>
>>>
>>> djain101 wrote:
>>>   
>>>       
>>>> Hi,
>>>>
>>>> We have set <abortOnConfigurationError>false</abortOnConfigurationError>
>>>> in solrconfig.xml for all the cores but still whenever any configuration
>>>> error occurs search does not work in any of the cores. Is there any
>>>> other
>>>> configuration we have to set so as to not affect search in the cores
>>>> which
>>>> are configured correctly?
>>>>
>>>> For one of the core, we got following error today but then none of the
>>>> core is working after that. The below message suggests to add
>>>> abortOnConfigurationError in solr.xml but we have it added in
>>>> solrconfig.xml for all the cores. Do we need to add in solr.xml? If yes,
>>>> where?
>>>>
>>>> Please suggest what is the right way to configure so that if one core
>>>> fails due to configuration errors, all other cores remain unaffected?
>>>>
>>>> *****************************************************************
>>>> Check your log files for more detailed information on what may be wrong.
>>>>
>>>> If you want solr to continue after configuration errors, change: 
>>>>
>>>>
>>>> &lt;abortOnConfigurationError&gt;false&lt;/abortOnConfigurationError&gt;
>>>>
>>>> in solr.xml
>>>>
>>>> java.lang.RuntimeException: java.io.IOException: Cannot create
>>>> directory:
>>>> /usr/local/app/data/search/core09/index
>>>> ***********************************************************************
>>>>
>>>>     
>>>>         
>>>   
>>>       
>>
>>
>>
>>
>>     
>
>   


-- 
- Mark

http://www.lucidimagination.com



Reply via email to