You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vadim Kisselmann <v....@googlemail.com> on 2011/10/31 11:38:26 UTC

how to : multicore setup with same config files

Hi folks,

i have a small blockade in the configuration of an multicore setup.
i use the latest solr version (4.0) from trunk and the example (with jetty).
single core is running without problems.

We assume that i have this structure:

/solr-trunk/solr/example/multicore/

                                   solr.xml

                                   core0/

                                   core1/


/solr-data/

          /conf/

                schema.xml

                solrconfig.xml

          /data/

                core0/

                      index

                core1/

                      index


I want so share the config-files(same instanceDir but different docDir)

How can i configure this so that it works(solrconfig.xml, solr.xml)?

Do i need the directories for core0/core1 in solr-trunk/...?


I found issues in Jira with old patches which unfortunately doesn't work.


Thanks and Regards

Vadim

Re: how to : multicore setup with same config files

Posted by Vadim Kisselmann <v....@googlemail.com>.
Hi,
yes, see http://wiki.apache.org/solr/DistributedSearch
Regards
Vadim


2011/11/2 Val Minyaylo <vm...@centraldesktop.com>

> Have you tried to query multiple cores at same time?
>
>
> On 10/31/2011 8:30 AM, Vadim Kisselmann wrote:
>
>> it works.
>> it was one wrong placed backslash in my config;)
>> sharing the config/schema files is not a problem.
>> regards vadim
>>
>>
>> 2011/10/31 Vadim Kisselmann<v....@googlemail.com>
>> >
>>
>>  Hi folks,
>>>
>>> i have a small blockade in the configuration of an multicore setup.
>>> i use the latest solr version (4.0) from trunk and the example (with
>>> jetty).
>>> single core is running without problems.
>>>
>>> We assume that i have this structure:
>>>
>>> /solr-trunk/solr/example/**multicore/
>>>
>>>                                    solr.xml
>>>
>>>                                    core0/
>>>
>>>                                    core1/
>>>
>>>
>>> /solr-data/
>>>
>>>           /conf/
>>>
>>>                 schema.xml
>>>
>>>                 solrconfig.xml
>>>
>>>           /data/
>>>
>>>                 core0/
>>>
>>>                       index
>>>
>>>                 core1/
>>>
>>>                       index
>>>
>>>
>>> I want so share the config-files(same instanceDir but different docDir)
>>>
>>> How can i configure this so that it works(solrconfig.xml, solr.xml)?
>>>
>>> Do i need the directories for core0/core1 in solr-trunk/...?
>>>
>>>
>>> I found issues in Jira with old patches which unfortunately doesn't work.
>>>
>>>
>>> Thanks and Regards
>>>
>>> Vadim
>>>
>>>
>>>
>>>
>>>
>>>
>>>

Re: how to : multicore setup with same config files

Posted by Val Minyaylo <vm...@centraldesktop.com>.
Have you tried to query multiple cores at same time?

On 10/31/2011 8:30 AM, Vadim Kisselmann wrote:
> it works.
> it was one wrong placed backslash in my config;)
> sharing the config/schema files is not a problem.
> regards vadim
>
>
> 2011/10/31 Vadim Kisselmann<v....@googlemail.com>
>
>> Hi folks,
>>
>> i have a small blockade in the configuration of an multicore setup.
>> i use the latest solr version (4.0) from trunk and the example (with
>> jetty).
>> single core is running without problems.
>>
>> We assume that i have this structure:
>>
>> /solr-trunk/solr/example/multicore/
>>
>>                                     solr.xml
>>
>>                                     core0/
>>
>>                                     core1/
>>
>>
>> /solr-data/
>>
>>            /conf/
>>
>>                  schema.xml
>>
>>                  solrconfig.xml
>>
>>            /data/
>>
>>                  core0/
>>
>>                        index
>>
>>                  core1/
>>
>>                        index
>>
>>
>> I want so share the config-files(same instanceDir but different docDir)
>>
>> How can i configure this so that it works(solrconfig.xml, solr.xml)?
>>
>> Do i need the directories for core0/core1 in solr-trunk/...?
>>
>>
>> I found issues in Jira with old patches which unfortunately doesn't work.
>>
>>
>> Thanks and Regards
>>
>> Vadim
>>
>>
>>
>>
>>
>>

Re: how to : multicore setup with same config files

Posted by Vadim Kisselmann <v....@googlemail.com>.
it works.
it was one wrong placed backslash in my config;)
sharing the config/schema files is not a problem.
regards vadim


2011/10/31 Vadim Kisselmann <v....@googlemail.com>

> Hi folks,
>
> i have a small blockade in the configuration of an multicore setup.
> i use the latest solr version (4.0) from trunk and the example (with
> jetty).
> single core is running without problems.
>
> We assume that i have this structure:
>
> /solr-trunk/solr/example/multicore/
>
>                                    solr.xml
>
>                                    core0/
>
>                                    core1/
>
>
> /solr-data/
>
>           /conf/
>
>                 schema.xml
>
>                 solrconfig.xml
>
>           /data/
>
>                 core0/
>
>                       index
>
>                 core1/
>
>                       index
>
>
> I want so share the config-files(same instanceDir but different docDir)
>
> How can i configure this so that it works(solrconfig.xml, solr.xml)?
>
> Do i need the directories for core0/core1 in solr-trunk/...?
>
>
> I found issues in Jira with old patches which unfortunately doesn't work.
>
>
> Thanks and Regards
>
> Vadim
>
>
>
>
>
>