lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tanner Postert <>
Subject No system property or default value specified for...
Date Fri, 14 Jan 2011 18:49:49 GMT
I'm trying to dynamically add a core to a multi core system using the
following command:


the data-config.xml looks like this:

  <dataSource type="JdbcDataSource"
  <document name="items">
   <entity dataSource="server" name="locals"
       query="select code from master.locals"
    <entity dataSource="server" name="item"
        query="select '${local.code}' as localcode,
FROM ${local.code}_meta.item
  item.lastmodified > '${dataimporter.last_index_time}'
  '${dataimporter.request.clean}' != 'false'
order by item.objid"

this same configuration works for a core that is already imported into the
system, but when trying to add the core with the above command I get the
following error:

No system property or default value specified for local.code

so I added a <property/> tag in the solr.xml figuring that it needed some
type of default value for this to work, then I restarted solr, but now when
I try the import I get:

No system property or default value specified for

Do I have to define a default value for every variable I will conceivably
use for future cores? is there a way to bypass this error?

Thanks in advance

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message