On Wed, Apr 8, 2009 at 10:23 PM, gateway0 <reiterwo...@yahoo.de> wrote:

>
> The problem as you see is the line:
> "<field name="definition">Projects</field>"
>
> I want to set a constant value for every row in the SQL table but it
> doesn´t
> work that way, any ideas?
>

That is not a valid syntax.

There are two ways to do this:
1. In your schema.xml provide the 'default' attribute
2. Use TemplateTransformer - see
http://wiki.apache.org/solr/DataImportHandlerFaq

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to