: I'm trying to dynamically add a core to a multi core system using the
: following command:
:
:
http://localhost:8983/solr/admin/cores?action=CREATE&name=items&instanceDir=items&config=data-config.xml&schema=schema.xml&dataDir=data&persist=true
:
: the data-config.xml looks like this:
:
:
I
Ok, have you defined dataimporter.last_index_time in solr.xml or
solrcore.properties? If not, then you can either define the default value or
set it in solrcore.properties or solr.xml.
Maybe a catch up on the wiki clears things up:
http://wiki.apache.org/solr/SolrConfigXml#System_property_substi
there error I am getting is that I have no default value
for ${dataimporter.last_index_time}
should I just define -00-00 00:00:00 as the default for that field?
On Wed, Jan 19, 2011 at 12:45 PM, Markus Jelsma
wrote:
> No, you only need defaults if you use properties that are not defined in
>
No, you only need defaults if you use properties that are not defined in
solr.xml or solrcore.properties.
What would the value for local.core be if you don't define it anyway and you
don't specify a default? Quite unpredictable i gues =)
> i even have to define default values for the dataimport
i even have to define default values for the dataimport.delta values? that
doesn't seem right
On Wed, Jan 19, 2011 at 11:57 AM, Markus Jelsma
wrote:
> Hi,
>
> I'm unsure if i completely understand but you first had the error for
> local.code and then set the property in solr.xml? Then of course i
Hi,
I'm unsure if i completely understand but you first had the error for
local.code and then set the property in solr.xml? Then of course it will give
an error for the next undefined property that has no default set.
If you use a property without default it _must_ be defined in solr.xml or
so