Looks like 4.7.2 does not have this const. Another reason to switch to 4.10 
(and java 8 ;) )

-----Ursprüngliche Nachricht-----
Von: Alexandre Rafalovitch [mailto:arafa...@gmail.com] 
Gesendet: Montag, 24. November 2014 16:49
An: solr-user
Betreff: Re: CoreContainer : create new cores reusing/sharing solrconfig.xml 
and schema.xml

I haven't done this myself, but it is defined as a constant in the
CoreDescriptor:
http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/core/CoreDescriptor.html#CORE_CONFIGSET

You could also look at the tests and see whether it is used.

Regards,
   Alex.
Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and 
newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers 
community: https://www.linkedin.com/groups?gid=6713853


On 24 November 2014 at 10:43, Clemens Wyss DEV <clemens...@mysign.ch> wrote:
> Thanks fort he quick reply.
> But how do I hand in the configSet to use. I guess through the CoreDescriptor?
>
> -----Ursprüngliche Nachricht-----
> Von: Alexandre Rafalovitch [mailto:arafa...@gmail.com]
> Gesendet: Montag, 24. November 2014 16:27
> An: solr-user
> Betreff: Re: CoreContainer : create new cores reusing/sharing 
> solrconfig.xml and schema.xml
>
> Have you tried Configsets:
> https://cwiki.apache.org/confluence/display/solr/Config+Sets ?
>
> Regards,
>    Alex.
> Personal: http://www.outerthoughts.com/ and @arafalov Solr resources 
> and newsletter: http://www.solr-start.com/ and @solrstart Solr 
> popularizers community: https://www.linkedin.com/groups?gid=6713853
>
>
> On 24 November 2014 at 10:14, Clemens Wyss DEV <clemens...@mysign.ch> wrote:
>> Given the following directory/file structure
>>
>> .../solrhome
>> .../solrhome/solr.xml
>> .../solrhome/config/
>> .../solrhome/config/schema.xml
>> .../solrhome/config/solrconfig.xml
>> .../solrhome/cores
>>
>> How can I programmatically (CoreContainer) create a new core below 
>> .../solrhome/cores that makes use of solrconfig.xml and schema.xml?
>> The new core should use the config files in .../solrhome/config/
>>
>> Thx
>> Clemens

Reply via email to