: > TemplateTransformer
:
: But doesn't that override the value even if it is present? I thought
: the request was for default value if one is not supplied. Though maybe
: I was wrong.
Bah! You are completley correct ... I didn't fully understand the
question.
Sorry for the noise.
-Hoss
On Fri, May 31, 2013 at 1:43 PM, Chris Hostetter
wrote:
> TemplateTransformer
But doesn't that override the value even if it is present? I thought
the request was for default value if one is not supplied. Though maybe
I was wrong.
Regards,
Alex.
Personal blog: http://blog.outerthoughts.com/
: > On the other side: I have a problem. Because I want to give some entities
: > a default value "A" and others default value "B" - which I could do inside
: > a inside of in data-config.xml but not inside a in
: > schema.xml.
: In that case, you will need to write a custom DIH Transformer.
No
: References: <1370004174910-4067305.p...@n3.nabble.com>
: In-Reply-To: <1370004174910-4067305.p...@n3.nabble.com>
: Subject: dataConfig DTD or schema
https://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When starting a new discussion on a mailing list, please do no
On Fri, May 31, 2013 at 8:35 PM, Hans-Peter Stricker
wrote:
> On the other side: I have a problem. Because I want to give some entities
> a default value "A" and others default value "B" - which I could do inside
> a inside of in data-config.xml but not inside a in
> schema.xml.
>
>
In that case,
hers default value "B" - which I could do inside a
> inside of in data-config.xml but not inside a in
> schema.xml.
>
>
> --
> From: "Shalin Shekhar Mangar"
> Sent: Friday, May 31, 2013 4:59 PM
> To:
> S
uot;Shalin Shekhar Mangar"
Sent: Friday, May 31, 2013 4:59 PM
To:
Subject: Re: dataConfig DTD or schema
DataImportHandler does not support specifying default values for a field.
However, the solr schema.xml lets you specify defaults. So, modify the
corresponding field inside solr's sc
You are great! Thanks a lot for taking the time.
--
From: "Shalin Shekhar Mangar"
Sent: Friday, May 31, 2013 4:59 PM
To:
Subject: Re: dataConfig DTD or schema
DataImportHandler does not support specifying default values for a fiel
DataImportHandler does not support specifying default values for a field.
However, the solr schema.xml lets you specify defaults. So, modify the
corresponding field inside solr's schema.xml. For example:
On Fri, May 31, 2013 at 8:20 PM, Hans-Peter Stricker
wrote:
> I wonder how to pass default