I asked, but did not see a reply to the following question, (for a newbie like
me):
Question:
What does DIH mean?
Answer:
Data Import Handler
Sent to list to aid searches by other newbies in the future.
Dennis Gearon
Signature Warning
EARTH has a Right To Life,
otherwise
You can use mysql , select *, “staticdata” as staticdata from table x.
As long as your field name is staticdata, this should add it there.
On 3/12/10 8:39 AM, "Tommy Chheng" wrote:
Haven't tried this myself but try adding a default value and don't
specify it during the import.
http://wiki.ap
Im still having a problem with this... for example I would assume this would
index the value Item into the field called type
However I receive this error when starting up Solr: Caused by:
org.apache.solr.handler.dataimport.DataImportHandlerException: Field must
have a co
> I feel like the default option is a little hacky plus I'll
> probably be
> sharing my schema.xml for multiple cores using dynamic
> field types.
>
> I can't believe there isnt an easy way to specify this. So
> my only options
> is something like this?
Also you can generate this static value fro
I feel like the default option is a little hacky plus I'll probably be
sharing my schema.xml for multiple cores using dynamic field types.
I can't believe there isnt an easy way to specify this. So my only options
is something like this?
What if I don't need a templa
Haven't tried this myself but try adding a default value and don't
specify it during the import.
http://wiki.apache.org/solr/SchemaXml
On 3/12/10 7:56 AM, blargy wrote:
Forgive me but I'm slightly retarded... I grew up underneath some power lines
;)
I've read through that wiki but I still c
> Forgive me but I'm slightly retarded... I grew up
> underneath some power lines
> ;)
>
> I've read through that wiki but I still can't find what I'm
> looking for. I
> just want to give one of the DIH entities/fields a static
> value (ie it
> doesnt come from a database column). How can I config
Forgive me but I'm slightly retarded... I grew up underneath some power lines
;)
I've read through that wiki but I still can't find what I'm looking for. I
just want to give one of the DIH entities/fields a static value (ie it
doesnt come from a database column). How can I configure this?
FYI th
The wiki page has most of the info you need
*http://wiki*.apache.org/*solr*/DataImportHandler
To use multi-value fields, your schema.xml must define it with
multiValued="true"
On 3/11/10 10:58 PM, blargy wrote:
How can you simply add a static value like?
How does one add a static multi-val