Thanks. I found this, which is much more clear than the manual.

http://www.openjems.com/solr-external-file-fields/
The Solr manual should include the info about how to declare the field.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Nov 17, 2017, at 2:48 PM, Chris Hostetter <hossman_luc...@fucit.org> wrote:
> 
> 
> : Do I need to define a field with <field/> when I use an external file 
> : field? I see the <fieldType/> to define it, but the docs don’t say how 
> : to define the field.
> 
> you define the field (or dynamicField) just like any other field -- the 
> fieldType is where you specify things like the 'keyField' & the 'defVal', 
> but then the field/dynamicField definition dictate the underlying 
> filename that will be used
> 
> So if you want 5 diff ExternalFileFields that all use keyField="id" but you 
> only need one <fieldType/> and five <field/> -- but if you need them all 
> to have 5 diff 'defVal' then you need five <fieldType/> and five 
> <field/> 
> 
> 
> 
> -Hoss
> http://www.lucidworks.com/

Reply via email to